.pre-commit-config.yaml 600 B

12345678910111213141516171819202122232425
  1. repos:
  2. - repo: https://github.com/psf/black-pre-commit-mirror
  3. rev: 24.1.0
  4. hooks:
  5. - id: black
  6. exclude: \.py-tpl$
  7. - repo: https://github.com/adamchainz/blacken-docs
  8. rev: 1.16.0
  9. hooks:
  10. - id: blacken-docs
  11. additional_dependencies:
  12. - black==24.1.0
  13. files: 'docs/.*\.txt$'
  14. - repo: https://github.com/PyCQA/isort
  15. rev: 5.13.2
  16. hooks:
  17. - id: isort
  18. - repo: https://github.com/PyCQA/flake8
  19. rev: 7.0.0
  20. hooks:
  21. - id: flake8
  22. - repo: https://github.com/pre-commit/mirrors-eslint
  23. rev: v8.56.0
  24. hooks:
  25. - id: eslint