Open jdkandersson opened 2 years ago
Checking this briefly it seems that this bug is related to flake8-copyright
's interaction with flake8. It is reported in their repo as well https://github.com/savoirfairelinux/flake8-copyright/issues/19, with a PR fix pending https://github.com/savoirfairelinux/flake8-copyright/pull/20 .
Not sure if this is the right place to put this, although limiting the version of
pyproject-flake8<6.0.0
did resolve the issue. There seems to be a problem with the command line argumenttype
beying passed as anstr
rather than a function which is resulting in the error below. I put a print statement with the arguments being passed just before this line:.tox/lint/lib/python3.10/site-packages/flake8/options/manager.py", line 274, in add_option