.pre-commit-config.yaml 699 B

1234567891011121314151617181920212223242526272829303132
  1. ci:
  2. autoupdate_schedule: monthly
  3. repos:
  4. - repo: https://github.com/pycqa/isort
  5. rev: 5.13.2
  6. hooks:
  7. - id: isort
  8. args: [--profile=black]
  9. - repo: https://github.com/psf/black
  10. rev: 23.12.1
  11. hooks:
  12. - id: black
  13. - repo: https://github.com/codespell-project/codespell
  14. rev: v2.2.6
  15. hooks:
  16. - id: codespell
  17. files: ^.*\.(py|md|rst|yml)$
  18. args: [-L=fro]
  19. - repo: https://github.com/pre-commit/pre-commit-hooks
  20. rev: v4.5.0
  21. hooks:
  22. - id: end-of-file-fixer
  23. - id: check-yaml
  24. - id: check-json
  25. - id: mixed-line-ending
  26. args: ['--fix=lf']
  27. - id: check-added-large-files
  28. args: ['--maxkb=5000']