Add pre-commit configuration

modern-tables
Mark Veidemanis 2 years ago
parent 4b1ca4c895
commit f12373e259
Signed by: m
GPG Key ID: 5ACFCEED46C0904F

@ -0,0 +1,18 @@
repos:
- repo: https://github.com/psf/black
rev: 22.6.0
hooks:
- id: black
exclude: \.py-tpl$
- repo: https://github.com/PyCQA/isort
rev: 5.10.1
hooks:
- id: isort
- repo: https://github.com/PyCQA/flake8
rev: 4.0.1
hooks:
- id: flake8
- repo: https://github.com/pre-commit/mirrors-eslint
rev: v8.18.0
hooks:
- id: eslint
Loading…
Cancel
Save