.pre-commit-config.yaml 663 B

123456789101112131415161718192021222324252627
  1. default_language_version:
  2. node: system
  3. python: python3
  4. repos:
  5. - repo: https://github.com/psf/black
  6. rev: 22.3.0
  7. hooks:
  8. - id: black
  9. language_version: python3
  10. args: ["--target-version", "py37"]
  11. - repo: https://github.com/timothycrosley/isort
  12. # isort config is in setup.cfg
  13. rev: 5.6.4
  14. hooks:
  15. - id: isort
  16. - repo: https://gitlab.com/pycqa/flake8
  17. # flake8 config is in setup.cfg
  18. rev: 3.8.4
  19. hooks:
  20. - id: flake8
  21. additional_dependencies:
  22. - flake8-comprehensions
  23. - flake8-assertive
  24. - repo: https://github.com/rtts/djhtml
  25. rev: v1.4.13
  26. hooks:
  27. - id: djhtml