MetOffice / dagrunner

⛔[EXPERIMENTAL] Directed acyclic graph (DAG) runner and tools
BSD 3-Clause "New" or "Revised" License
1 stars 0 forks source link

Extended ruff config + CI reference fix #47

Closed cpelley closed 2 months ago

cpelley commented 2 months ago

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.

cpelley commented 2 months ago

ping @s-boardman of potential interest