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. |
||
|---|---|---|
| .. | ||
| commands | ||
| languages | ||
| meta_hooks | ||
| __init__.py | ||
| clientlib_test.py | ||
| color_test.py | ||
| conftest.py | ||
| envcontext_test.py | ||
| error_handler_test.py | ||
| git_test.py | ||
| logging_handler_test.py | ||
| main_test.py | ||
| make_archives_test.py | ||
| output_test.py | ||
| parse_shebang_test.py | ||
| prefix_test.py | ||
| repository_test.py | ||
| runner_test.py | ||
| staged_files_only_test.py | ||
| store_test.py | ||
| util_test.py | ||
| xargs_test.py | ||