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
Hi, I ran this on my project through pre-commit flake8 hook and got this exception:
Traceback (most recent call last):
File "/home/uri/.cache/pre-commit/repo7r732xof/py_env-python3.7/bin/flake8", line 10, in
sys.exit(main())
File "/home/uri/.cache/pre-commit/repo7r732xof/py_env-python3.7/lib/python3.7/site-packages/flake8/main/cli.py", line 22, in main
app.run(argv)
File "/home/uri/.cache/pre-commit/repo7r732xof/py_env-python3.7/lib/python3.7/site-packages/flake8/main/application.py", line 397, in run
self._run(argv)
File "/home/uri/.cache/pre-commit/repo7r732xof/py_env-python3.7/lib/python3.7/site-packages/flake8/main/application.py", line 384, in _run
self.initialize(argv)
File "/home/uri/.cache/pre-commit/repo7r732xof/py_env-python3.7/lib/python3.7/site-packages/flake8/main/application.py", line 368, in initialize
self.register_plugin_options()
File "/home/uri/.cache/pre-commit/repo7r732xof/py_env-python3.7/lib/python3.7/site-packages/flake8/main/application.py", line 209, in register_plugin_options
self.check_plugins.register_options(self.option_manager)
File "/home/uri/.cache/pre-commit/repo7r732xof/py_env-python3.7/lib/python3.7/site-packages/flake8/plugins/manager.py", line 490, in register_options
list(self.manager.map(register_and_enable))
File "/home/uri/.cache/pre-commit/repo7r732xof/py_env-python3.7/lib/python3.7/site-packages/flake8/plugins/manager.py", line 298, in map
yield func(self.plugins[name], *args, **kwargs)
File "/home/uri/.cache/pre-commit/repo7r732xof/py_env-python3.7/lib/python3.7/site-packages/flake8/plugins/manager.py", line 486, in register_and_enable
call_register_options(plugin)
File "/home/uri/.cache/pre-commit/repo7r732xof/py_env-python3.7/lib/python3.7/site-packages/flake8/plugins/manager.py", line 398, in generated_function
return method(optmanager, *args, **kwargs)
File "/home/uri/.cache/pre-commit/repo7r732xof/py_env-python3.7/lib/python3.7/site-packages/flake8/plugins/manager.py", line 217, in register_options
add_options(optmanager)
File "/home/uri/.cache/pre-commit/repo7r732xof/py_env-python3.7/lib/python3.7/site-packages/flake8_eradicate.py", line 67, in add_options
parse_from_config=True,
File "/home/uri/.cache/pre-commit/repo7r732xof/py_env-python3.7/lib/python3.7/site-packages/flake8/options/manager.py", line 395, in add_option
self._current_group.add_argument(*option_args, **option_kwargs)
File "/usr/lib/python3.7/argparse.py", line 1362, in add_argument
action = action_class(**kwargs)
TypeError: init() got an unexpected keyword argument 'type'
The text was updated successfully, but these errors were encountered:
Hi, I ran this on my project through pre-commit flake8 hook and got this exception:
The text was updated successfully, but these errors were encountered: