tox: Pin pycodestyle to 2.10.0

They changed their API in 2.11.0 and broke autopep8
See:
https://github.com/hhatto/autopep8/issues/689
and
https://github.com/hhatto/autopep8/pull/696
This commit is contained in:
Brian C. Lane 2023-08-04 14:13:44 -07:00 committed by Simon de Vlieger
parent 2047a8efbc
commit a7541ad8b4

View file

@ -48,6 +48,7 @@ commands =
[testenv:autopep8]
deps =
autopep8==2.0.2
pycodestyle==2.10.0
commands =
bash -c 'python -m autopep8 --diff --max-line-length 120 -a -a -a -j0 -r --exit-code {env:LINTABLES}'