2
0

.pre-commit-config.yaml 536 B

1234567891011121314151617181920
  1. default_language_version:
  2. node: system
  3. repos:
  4. - repo: https://github.com/timothycrosley/isort
  5. # isort config is in setup.cfg
  6. rev: 5.6.4
  7. hooks:
  8. - id: isort
  9. language_version: python3
  10. - repo: https://gitlab.com/pycqa/flake8
  11. # flake8 config is in setup.cfg
  12. rev: 3.8.4
  13. hooks:
  14. - id: flake8
  15. language_version: python3
  16. - repo: https://github.com/pre-commit/mirrors-prettier
  17. rev: v2.5.1
  18. hooks:
  19. - id: prettier
  20. types_or: [css, scss, javascript, ts, tsx, json, yaml]