You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
516 B

10 months ago
  1. repos:
  2. - repo: https://github.com/pre-commit/pre-commit-hooks
  3. rev: v4.3.0
  4. hooks:
  5. - id: trailing-whitespace
  6. - id: end-of-file-fixer
  7. - id: check-yaml
  8. - repo: https://github.com/PyCQA/flake8
  9. rev: '5.0.4'
  10. hooks:
  11. - id: flake8
  12. args: ["--ignore=E203,W503,E501,E722"]
  13. - repo: https://github.com/asottile/add-trailing-comma
  14. rev: v2.2.3
  15. hooks:
  16. - id: add-trailing-comma
  17. - repo: https://github.com/psf/black
  18. rev: '22.8.0'
  19. hooks:
  20. - id: black