mirror of
https://github.com/PyCQA/flake8.git
synced 2026-04-05 04:36:52 +00:00
Upgrade McCabe checker as an extension; now it uses the AST
This commit is contained in:
parent
740e8b9ad6
commit
1c6ed0526a
2 changed files with 105 additions and 93 deletions
1
setup.py
1
setup.py
|
|
@ -36,6 +36,7 @@ setup(
|
|||
'console_scripts': ['flake8 = flake8.main:main'],
|
||||
'flake8.extension': [
|
||||
'F = flake8._pyflakes:FlakesChecker',
|
||||
'C90 = flake8.mccabe:McCabeChecker',
|
||||
],
|
||||
},
|
||||
tests_require=['nose'],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue