You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
new flake8 6.0.0 fails if flake8-quotes 3.3.1 is installed
commands ran
flake8 --version
or flake8 --bug-report
result:
D:\>flake8 --version
Traceback (most recent call last):
File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File "C:\Python311\Scripts\flake8.exe\__main__.py", line 7, in <module>
File "C:\Python311\Lib\site-packages\flake8\main\cli.py", line 23, in main
app.run(argv)
File "C:\Python311\Lib\site-packages\flake8\main\application.py", line 198, in run
self._run(argv)
File "C:\Python311\Lib\site-packages\flake8\main\application.py", line 186, in _run
self.initialize(argv)
File "C:\Python311\Lib\site-packages\flake8\main\application.py", line 165, in initialize
self.plugins, self.options = parse_args(argv)
^^^^^^^^^^^^^^^^
File "C:\Python311\Lib\site-packages\flake8\options\parse_args.py", line 51, in parse_args
option_manager.register_plugins(plugins)
File "C:\Python311\Lib\site-packages\flake8\options\manager.py", line 259, in register_plugins
add_options(self)
File "C:\Python311\Lib\site-packages\flake8_quotes\__init__.py", line 109, in add_options
cls._register_opt(parser, '--quotes', action='store',
File "C:\Python311\Lib\site-packages\flake8_quotes\__init__.py", line 99, in _register_opt
parser.add_option(*args, **kwargs)
File "C:\Python311\Lib\site-packages\flake8\options\manager.py", line 281, in add_option
self._current_group.add_argument(*option_args, **option_kwargs)
File "C:\Python311\Lib\argparse.py", line 1448, in add_argument
raise ValueError('%r is not callable' % (type_func,))
ValueError: 'choice' is not callable
D:\>
how did you install flake8?
unmodified output of
flake8 --bug-report
No output, see below
describe the problem
description
new flake8 6.0.0 fails if flake8-quotes 3.3.1 is installed
commands ran
flake8 --version
or
flake8 --bug-report
result:
see CI test
The text was updated successfully, but these errors were encountered: