Skip to content

Commit

Permalink
Fix compatibility with flake8 3.5
Browse files Browse the repository at this point in the history
Merge jezdez/pytest-flake8 to fix compatibility with flake8 3.5.0 option
handling.

Fixes #34
  • Loading branch information
tholo committed Oct 23, 2017
2 parents 22abe4b + d6e9ba9 commit db7112d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pytest_flake8.py
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,8 @@ def check_file(path, flake8ignore, maxlength, maxcomplexity,
if statistics:
args += ['--statistics']
app = application.Application()
app.parse_preliminary_options_and_args(args)
app.make_config_finder()
app.find_plugins()
app.register_plugin_options()
app.parse_configuration_and_cli(args)
Expand Down

0 comments on commit db7112d

Please sign in to comment.