Upgrade McCabe checker as an extension; now it uses the AST

This commit is contained in:
Florent Xicluna 2013-02-13 19:41:23 +01:00
parent 740e8b9ad6
commit 1c6ed0526a
2 changed files with 105 additions and 93 deletions

View file

@ -36,6 +36,7 @@ setup(
'console_scripts': ['flake8 = flake8.main:main'],
'flake8.extension': [
'F = flake8._pyflakes:FlakesChecker',
'C90 = flake8.mccabe:McCabeChecker',
],
},
tests_require=['nose'],