mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-18 16:44:42 +04:00
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
4d485507f3
commit
3de0d35129
1 changed files with 1 additions and 1 deletions
|
|
@ -17,7 +17,7 @@ def check_all_hooks_match_files(config_file: str) -> int:
|
|||
exclude_file_path = config['exclude_file_path']
|
||||
if exclude_file_path is not None:
|
||||
if os.path.isfile(exclude_file_path):
|
||||
with open(exclude_file_path, 'r') as f:
|
||||
with open(exclude_file_path) as f:
|
||||
config['exclude'] = f.read().splitlines()
|
||||
|
||||
classifier = Classifier.from_config(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue