.pre-commit-config.yaml 531 B

12345678910111213141516171819202122232425
  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.8.0
  11. hooks:
  12. - id: black
  13. - repo: https://github.com/pre-commit/pre-commit-hooks
  14. rev: v4.6.0
  15. hooks:
  16. - id: end-of-file-fixer
  17. - id: check-yaml
  18. - id: check-json
  19. - id: mixed-line-ending
  20. args: ['--fix=lf']
  21. - id: check-added-large-files
  22. args: ['--maxkb=5000']