From 00696f120eaa32d894085bcc819ef5787aed94e7 Mon Sep 17 00:00:00 2001 From: Tarek Ziade Date: Wed, 17 Oct 2012 10:20:21 +0200 Subject: [PATCH] init pep8 - fixes #32 --- flake8/run.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/flake8/run.py b/flake8/run.py index 6c89df3..f7b23b1 100644 --- a/flake8/run.py +++ b/flake8/run.py @@ -136,6 +136,9 @@ def run(command): def git_hook(complexity=-1, strict=False, ignore=None): + global pep8style + pep8style = pep8.StyleGuide(config_file=True) + _initpep8() if ignore: pep8.options.ignore=ignore