diff options
| author | Tarek Ziade <tarek@ziade.org> | 2012-10-17 10:20:21 +0200 |
|---|---|---|
| committer | Tarek Ziade <tarek@ziade.org> | 2012-10-17 10:20:21 +0200 |
| commit | 00696f120eaa32d894085bcc819ef5787aed94e7 (patch) | |
| tree | ba4f1a44c5e0fc76b261efbb9c43f64250cbbfa3 | |
| parent | 373a810bab958778ed8a4d19b2fe53501fe70de3 (diff) | |
| download | flake8-00696f120eaa32d894085bcc819ef5787aed94e7.tar.gz | |
init pep8 - fixes #32
| -rw-r--r-- | flake8/run.py | 3 |
1 files changed, 3 insertions, 0 deletions
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 |
