mirror of
https://github.com/PyCQA/flake8.git
synced 2026-03-29 10:36:53 +00:00
init pep8 - fixes #32
This commit is contained in:
parent
373a810bab
commit
00696f120e
1 changed files with 3 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue