.pre-commit-config.yaml 369 B

1234567891011121314
  1. # See https://pre-commit.com for more information
  2. # See https://pre-commit.com/hooks.html for more hooks
  3. files: '^.*\.py$'
  4. repos:
  5. - repo: local
  6. hooks:
  7. - id: black
  8. name: black
  9. entry: black --check --diff --color
  10. language: python
  11. - id: flake8
  12. name: flake8
  13. entry: flake8 --ignore E203,E261,E501,W503,E741
  14. language: python