We use Ruff for formatting and linting Python code.
Copy the standard configuration:
curl -O https://raw.githubusercontent.com/kreozalabs/tooling/main/packages/python-standards/ruff.tomlAdd the following to your .pre-commit-config.yaml:
repos:
- repo: https://github.com/kreozalabs/tooling
rev: v1.0.0
hooks:
- id: kreoza-ruff