mirror of
https://github.com/PyCQA/flake8.git
synced 2026-04-08 14:04:16 +00:00
Update the VCS docs
Also, update the git_hook auto-installer text. Fixes #87 on BitBucket
This commit is contained in:
parent
ea1c29ca2e
commit
9844142528
2 changed files with 9 additions and 3 deletions
|
|
@ -29,6 +29,9 @@ def git_hook(complexity=-1, strict=False, ignore=None, lazy=False):
|
|||
if lazy:
|
||||
gitcmd = gitcmd.replace('--cached ', '')
|
||||
|
||||
if hasattr(ignore, 'split'):
|
||||
ignore = ignore.split(',')
|
||||
|
||||
_, files_modified, _ = run(gitcmd)
|
||||
|
||||
flake8_style = get_style_guide(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue