summaryrefslogtreecommitdiff
path: root/flake8
diff options
context:
space:
mode:
authorTobias Megies <megies@geophysik.uni-muenchen.de>2013-10-10 09:00:42 +0200
committerTobias Megies <megies@geophysik.uni-muenchen.de>2013-10-10 09:00:42 +0200
commitb98d036e068dee1757905f429efa8ab8d0acbbc7 (patch)
tree0c0021a8b34644289a503c52414cef22fce4d38c /flake8
parent06256daf3ae46ed30c3ec01c10f382e660c5b913 (diff)
downloadflake8-b98d036e068dee1757905f429efa8ab8d0acbbc7.tar.gz
bugfix: shift a line into loop
Diffstat (limited to 'flake8')
-rw-r--r--flake8/hooks.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/flake8/hooks.py b/flake8/hooks.py
index edccc7f..11c1579 100644
--- a/flake8/hooks.py
+++ b/flake8/hooks.py
@@ -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