.pre-commit-config.yaml 545 B

1234567891011121314151617181920212223
  1. ci:
  2. autoupdate_commit_msg: "chore: update pre-commit hooks"
  3. repos:
  4. - repo: https://github.com/pre-commit/pre-commit-hooks
  5. rev: "v4.6.0"
  6. hooks:
  7. - id: check-added-large-files
  8. - id: check-case-conflict
  9. - id: check-merge-conflict
  10. - id: check-symlinks
  11. - id: mixed-line-ending
  12. - id: detect-private-key
  13. - id: check-ast
  14. - repo: https://github.com/astral-sh/ruff-pre-commit
  15. rev: v0.3.5
  16. hooks:
  17. # Run the linter.
  18. - id: ruff
  19. # Run the formatter.
  20. # - id: ruff-format