.pre-commit-config.yaml 711 B

12345678910111213141516171819202122232425262728
  1. repos:
  2. - repo: https://github.com/pre-commit/pre-commit-hooks
  3. rev: v5.0.0
  4. hooks:
  5. - id: trailing-whitespace
  6. exclude: ^lightrag/api/webui/
  7. - id: end-of-file-fixer
  8. exclude: ^lightrag/api/webui/
  9. - id: requirements-txt-fixer
  10. exclude: ^lightrag/api/webui/
  11. - repo: https://github.com/astral-sh/ruff-pre-commit
  12. rev: v0.6.4
  13. hooks:
  14. - id: ruff-format
  15. exclude: ^lightrag/api/webui/
  16. - id: ruff
  17. args: [--fix, --ignore=E402]
  18. exclude: ^lightrag/api/webui/
  19. - repo: https://github.com/mgedmin/check-manifest
  20. rev: "0.49"
  21. hooks:
  22. - id: check-manifest
  23. stages: [manual]
  24. exclude: ^lightrag/api/webui/