mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-04-16 02:21:46 +04:00
Fixes a bug where files are not being recognized based on their `types` using configuration file. In the case of using `types: ['bash', 'sh', 'shell']` in pre-commit-config, those filetypes will not be found, resulting in "no files found" being reported with pre-commit. This persists even when using --all-files flag. Intersection produces predictable results in Python 2.7 and 3.x. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| autoupdate_test.py | ||
| clean_test.py | ||
| install_uninstall_test.py | ||
| migrate_config_test.py | ||
| run_test.py | ||
| sample_config_test.py | ||
| try_repo_test.py | ||