.pre-commit-config.yaml 704 B

12345678910111213141516171819202122232425262728293031
  1. # See https://pre-commit.com/hooks.html for info on hooks
  2. repos:
  3. - repo: https://github.com/pre-commit/pre-commit-hooks
  4. rev: v3.4.0
  5. hooks:
  6. - id: check-added-large-files
  7. - id: check-ast
  8. - id: check-case-conflict
  9. - id: check-toml
  10. - id: check-yaml
  11. - id: debug-statements
  12. - id: detect-private-key
  13. - id: end-of-file-fixer
  14. - id: trailing-whitespace
  15. - repo: https://github.com/psf/black
  16. rev: 19.10b0
  17. hooks:
  18. - id: black
  19. - repo: https://gitlab.com/pycqa/flake8
  20. rev: 3.8.4
  21. hooks:
  22. - id: flake8
  23. args: [--max-line-length=88]
  24. - repo: https://github.com/PyCQA/isort
  25. rev: 5.7.0
  26. hooks:
  27. - id: isort