.pre-commit-config.yaml 355 B

123456789101112131415
  1. # See https://pre-commit.com for more information
  2. # See https://pre-commit.com/hooks.html for more hooks
  3. repos:
  4. - repo: local
  5. hooks:
  6. - id: black
  7. name: black
  8. entry: black --check --diff --color
  9. language: python
  10. files: ".py"
  11. - id: flake8
  12. name: flake8
  13. entry: flake8
  14. language: python
  15. files: ".py"