.pre-commit-config.yaml 567 B

12345678910111213141516171819
  1. repos:
  2. - repo: https://github.com/pycqa/flake8
  3. rev: 7.1.1 # New version tags can be found here: https://github.com/pycqa/flake8/tags
  4. hooks:
  5. - id: flake8
  6. name: flake8 (code linting)
  7. - repo: https://github.com/psf/black
  8. rev: 24.8.0 # New version tags can be found here: https://github.com/psf/black/tags
  9. hooks:
  10. - id: black
  11. name: black (code formatting)
  12. - repo: local
  13. hooks:
  14. - id: mypy
  15. name: mypy (static typing)
  16. pass_filenames: false
  17. language: script
  18. entry: ci/run_mypy.sh
  19. verbose: true