Following on from the previous PR which switched to ruff. We now include E (pycodestyle), W and I (isort) rules.
Making it equivalent to what we had before ruff (flake8, isort, black), except without the McCabe for now.
In my haste I didn't modify the reference pytest call in CI to match what I did to the other. That is, addressing hidden failure and running a failing logging test. See CI changes.
Everything else if changes to address any formatting changes.
Could we include more rules?? All rules perhaps?? Yes, but this PR is only to reintroduce rules we had in place as part of flake8 + isort + black right now.
The future configuration of ruff needs some further thought.
Following on from the previous PR which switched to
ruff
. We now include E (pycodestyle), W and I (isort) rules. Making it equivalent to what we had before ruff (flake8, isort, black), except without the McCabe for now.See pyproject.toml changes
Additionally:
Everything else if changes to address any formatting changes.
Issues
Note
Could we include more rules?? All rules perhaps?? Yes, but this PR is only to reintroduce rules we had in place as part of flake8 + isort + black right now. The future configuration of ruff needs some further thought.