.pre-commit-config.yaml 1020 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. # See https://pre-commit.com for more information
  2. # See https://pre-commit.com/hooks.html for more hooks
  3. repos:
  4. - repo: https://github.com/pre-commit/pre-commit-hooks
  5. rev: v4.4.0
  6. hooks:
  7. - id: check-added-large-files
  8. - id: check-toml
  9. - id: check-yaml
  10. args:
  11. - --unsafe
  12. - id: end-of-file-fixer
  13. - id: trailing-whitespace
  14. - repo: https://github.com/charliermarsh/ruff-pre-commit
  15. rev: v0.2.2
  16. hooks:
  17. - id: ruff
  18. args:
  19. - --fix
  20. - id: ruff-format
  21. - repo: https://github.com/biomejs/pre-commit
  22. rev: v0.1.0
  23. hooks:
  24. - id: biome-check
  25. additional_dependencies: ["@biomejs/biome@1.4.1"]
  26. - repo: https://github.com/psf/black
  27. rev: 21.12b0
  28. hooks:
  29. - id: black
  30. - repo: https://github.com/PyCQA/isort
  31. rev: 5.13.2
  32. hooks:
  33. - id: isort
  34. ci:
  35. autofix_commit_msg: 🎨 [pre-commit.ci] Auto format from pre-commit.com hooks
  36. autoupdate_commit_msg: ⬆ [pre-commit.ci] pre-commit autoupdate