2
0

.pre-commit-config.yaml 640 B

1234567891011121314151617181920212223242526
  1. repos:
  2. - repo: https://github.com/psf/black-pre-commit-mirror
  3. rev: 24.10.0
  4. hooks:
  5. - id: black
  6. exclude: \.py-tpl$
  7. - repo: https://github.com/adamchainz/blacken-docs
  8. rev: 1.19.0
  9. hooks:
  10. - id: blacken-docs
  11. additional_dependencies:
  12. - black==24.10.0
  13. files: 'docs/.*\.txt$'
  14. args: ["--rst-literal-block"]
  15. - repo: https://github.com/PyCQA/isort
  16. rev: 5.13.2
  17. hooks:
  18. - id: isort
  19. - repo: https://github.com/PyCQA/flake8
  20. rev: 7.1.1
  21. hooks:
  22. - id: flake8
  23. - repo: https://github.com/pre-commit/mirrors-eslint
  24. rev: v9.12.0
  25. hooks:
  26. - id: eslint