Skip to content

Ruff pre-commit config

Nick Ifeajika requested to merge ruff-pre-commit-fix-config into main

Adding extra configuration rules for the ruff linter

  • Ignore ["PLR0913"]: Removes restriction on the number of arguments we can pass to a function
  • Fix ["I001"]: Apply fix to out of order imports

Changes were also made in .pre-commit-config.yaml. Arguments [ --fix, --show-fixes, --exit-non-zero-on-fix ] have been added to the ruff hook to run in the pipeline.

Edited by Nick Ifeajika

Merge request reports