.pre-commit-config.yaml 675 B

12345678910111213141516171819202122232425262728293031
  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: 24.1.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. - repo: https://github.com/pre-commit/pre-commit-hooks
  19. rev: v4.5.0
  20. hooks:
  21. - id: end-of-file-fixer
  22. - id: check-yaml
  23. - id: check-json
  24. - id: mixed-line-ending
  25. args: ['--fix=lf']
  26. - id: check-added-large-files
  27. args: ['--maxkb=5000']