.pre-commit-config.yaml 517 B

123456789101112131415161718192021
  1. repos:
  2. - repo: https://github.com/pre-commit/pre-commit-hooks
  3. rev: v6.0.0
  4. hooks:
  5. - id: trailing-whitespace
  6. exclude: ^docs/
  7. - id: end-of-file-fixer
  8. exclude: ^docs/
  9. - id: check-yaml
  10. - id: check-toml
  11. - id: debug-statements
  12. language_version: python3
  13. - repo: https://github.com/astral-sh/ruff-pre-commit
  14. rev: v0.14.9
  15. hooks:
  16. - id: ruff
  17. args: [--fix, --select=I]
  18. exclude: ^docs/
  19. - id: ruff-format
  20. exclude: ^docs/