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

Prepare for Flake8 3.0

parent 4931fcd5
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -235,8 +235,8 @@ class McCabeChecker(object):
@classmethod
def add_options(cls, parser):
parser.add_option('--max-complexity', default=-1, action='store',
type='int', help="McCabe complexity threshold")
parser.config_options.append('max-complexity')
type='int', help="McCabe complexity threshold",
parse_from_config=True)
 
@classmethod
def parse_options(cls, options):
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