Skip to content

Commit

Permalink
Potential fix for issue tholo#8
Browse files Browse the repository at this point in the history
Ignore options are properly loaded from ``setup.cfg`` but then overwritten.  Here we simply extend this list.
  • Loading branch information
mforbes committed Dec 12, 2016
1 parent 3aafaec commit bc9c6ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pytest_flake8.py
Expand Up @@ -180,7 +180,7 @@ def check_file(path, flake8ignore, maxlength, maxcomplexity,
app.find_plugins()
app.register_plugin_options()
app.parse_configuration_and_cli(args)
app.options.ignore = flake8ignore
app.options.ignore.extend(flake8ignore)
app.make_formatter() # fix this
app.make_notifier()
app.make_guide()
Expand Down

0 comments on commit bc9c6ff

Please sign in to comment.