From b98d036e068dee1757905f429efa8ab8d0acbbc7 Mon Sep 17 00:00:00 2001 From: Tobias Megies Date: Thu, 10 Oct 2013 09:00:42 +0200 Subject: [PATCH] bugfix: shift a line into loop --- flake8/hooks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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