Skip to content

fix(barbuk): Pre-commit file can be .yaml or .yml - #2398

Merged
seefood merged 1 commit into
Bash-it:masterfrom
BarbUk:precommit_yml
Aug 9, 2026
Merged

fix(barbuk): Pre-commit file can be .yaml or .yml#2398
seefood merged 1 commit into
Bash-it:masterfrom
BarbUk:precommit_yml

Conversation

@BarbUk

@BarbUk BarbUk commented Aug 9, 2026

Copy link
Copy Markdown
Contributor

Description

Check for .pre-commit-config.yml and .pre-commit-config.yaml to display precommit config file in the current directory.

Motivation and Context

Before, it was only checking for .pre-commit-config.yaml

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.
  • [C] If my change requires a change to the documentation, I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • If I have added a new file, I also added it to clean_files.txt and formatted it using lint_clean_files.sh.
  • I have added tests to cover my changes, and all the new and existing tests pass.

@BarbUk BarbUk changed the title Pre-commit file can be .yaml or .yml fix(barbuk): Pre-commit file can be .yaml or .yml Aug 9, 2026
@seefood
seefood merged commit e787b62 into Bash-it:master Aug 9, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants