Skip to content
Snippets Groups Projects
Commit 24ed5ee0 authored by Ian Cordasco's avatar Ian Cordasco
Browse files

Add support for registering options in Flake8 3

parent 8c7cd5de
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -65,6 +65,13 @@ Links
Changes
-------
 
0.5.0 - 2016-05-30
``````````````````
* PyCon 2016 PDX release
* Add support for Flake8 3.0
0.4.0 - 2016-01-27
``````````````````
 
Loading
Loading
Loading
Loading
@@ -14,7 +14,7 @@ try:
except ImportError: # Python 2.5
from flake8.util import ast, iter_child_nodes
 
__version__ = '0.4.0'
__version__ = '0.5.0'
 
 
class ASTVisitor(object):
Loading
Loading
@@ -236,7 +236,7 @@ class McCabeChecker(object):
def add_options(cls, parser):
flag = '--max-complexity'
kwargs = {
'defaults': -1,
'default': -1,
'action': 'store',
'type': 'int',
'help': 'McCabe complexity threshold',
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment