diff --git a/flake8/run.py b/flake8/run.py index f7b23b1..30944b5 100644 --- a/flake8/run.py +++ b/flake8/run.py @@ -141,7 +141,7 @@ def git_hook(complexity=-1, strict=False, ignore=None): _initpep8() if ignore: - pep8.options.ignore=ignore + pep8.options.ignore = ignore warnings = 0