mirror of
https://github.com/PyCQA/flake8.git
synced 2026-03-30 02:46:52 +00:00
bugfix: shift a line into loop
This commit is contained in:
parent
06256daf3a
commit
b98d036e06
1 changed files with 1 additions and 1 deletions
|
|
@ -69,7 +69,7 @@ def git_hook(complexity=-1, strict=False, ignore=None, lazy=False):
|
|||
# write staged version of file to temporary directory
|
||||
with open(filename, "wb") as fh:
|
||||
fh.write(out)
|
||||
files_to_check.append(filename)
|
||||
files_to_check.append(filename)
|
||||
# Run the checks
|
||||
report = flake8_style.check_files(files_to_check)
|
||||
# remove temporary directory
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue