mirror of
https://github.com/PyCQA/flake8.git
synced 2026-03-29 10:36:53 +00:00
Fixed issue #6.
This commit is contained in:
parent
49b10fcad3
commit
714ea7a0e2
1 changed files with 1 additions and 0 deletions
|
|
@ -86,6 +86,7 @@ def hg_hook(ui, repo, **kwargs):
|
|||
pep8.options = _PEP8Options()
|
||||
pep8.options.physical_checks = pep8.find_checks('physical_line')
|
||||
pep8.options.logical_checks = pep8.find_checks('logical_line')
|
||||
pep8.options.counters = dict.fromkeys(pep8.BENCHMARK_KEYS, 0)
|
||||
pep8.args = []
|
||||
complexity = ui.configint('flake8', 'complexity', default=-1)
|
||||
warnings = 0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue