.pre-commit-config.yaml 970 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. exclude: |
  2. (?x)(
  3. ^superpoint_superglue_deployment/superpoint.py |
  4. ^superpoint_superglue_deployment/superglue.py
  5. )
  6. repos:
  7. - repo: https://github.com/pycqa/flake8
  8. rev: 4.0.1
  9. hooks:
  10. - id: flake8
  11. additional_dependencies: [pep8-naming]
  12. - repo: https://github.com/psf/black
  13. rev: 22.6.0
  14. hooks:
  15. - id: black
  16. language_version: python3
  17. - repo: https://github.com/pycqa/isort
  18. rev: 5.12.0
  19. hooks:
  20. - id: isort
  21. - repo: https://github.com/pre-commit/mirrors-mypy
  22. rev: v0.961
  23. hooks:
  24. - id: mypy
  25. - repo: https://github.com/pre-commit/pre-commit-hooks
  26. rev: v4.3.0
  27. hooks:
  28. - id: end-of-file-fixer
  29. - id: trailing-whitespace
  30. - repo: https://github.com/pre-commit/mirrors-prettier
  31. rev: v2.7.1
  32. hooks:
  33. - id: prettier
  34. types_or: [json, markdown, yaml]
  35. - repo: https://github.com/lovesegfault/beautysh
  36. rev: v6.2.1
  37. hooks:
  38. - id: beautysh