Skip to content

Commit

Permalink
Do not override options unneccesarily
Browse files Browse the repository at this point in the history
Merge options loaded instead of replacing them out of hand; from mforbes/pytest-flake8

Fixes #8
  • Loading branch information
tholo committed Oct 23, 2017
2 parents e036c02 + db7112d commit 8293d0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pytest_flake8.py
Expand Up @@ -183,7 +183,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 8293d0b

Please sign in to comment.