Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Breakage in 5.0.1 #124

Closed
thetic opened this issue Nov 18, 2022 · 0 comments · Fixed by #125 or #127
Closed

Breakage in 5.0.1 #124

thetic opened this issue Nov 18, 2022 · 0 comments · Fixed by #125 or #127

Comments

@thetic
Copy link

thetic commented Nov 18, 2022

Using flake8 4.0.1:

Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/flake8/plugins/manager.py", line 195, in provide_options
    parse_options(optmanager, options, extra_args)
TypeError: parse_options() missing 1 required positional argument: 'args'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
  File "/usr/local/bin/flake8", line 8, in <module>
    sys.exit(main())
  File "/usr/local/lib/python3.7/site-packages/flake8/main/cli.py", line 22, in main
    app.run(argv)
  File "/usr/local/lib/python3.7/site-packages/flake8/main/application.py", line 375, in run
    self._run(argv)
  File "/usr/local/lib/python3.7/site-packages/flake8/main/application.py", line 363, in _run
    self.initialize(argv)
  File "/usr/local/lib/python3.7/site-packages/flake8/main/application.py", line 347, in initialize
    remaining_args,
  File "/usr/local/lib/python3.7/site-packages/flake8/main/application.py", line 200, in parse_configuration_and_cli
    self.option_manager, self.options, self.args
  File "/usr/local/lib/python3.7/site-packages/flake8/plugins/manager.py", line 448, in provide_options
    list(self.manager.map(call_provide_options))
  File "/usr/local/lib/python3.7/site-packages/flake8/plugins/manager.py", line 309, in map
    yield func(self.plugins[name], *args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/flake8/plugins/manager.py", line 409, in generated_function
    return method(optmanager, *args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/flake8/plugins/manager.py", line 197, in provide_options
    parse_options(options)
TypeError: parse_options() missing 3 required positional arguments: 'option_manager', 'options', and 'args'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant