diff --git a/pytest_flake8.py b/pytest_flake8.py index 5582136..2ac7a28 100644 --- a/pytest_flake8.py +++ b/pytest_flake8.py @@ -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()