1
0
mirror of https://github.com/django/django.git synced 2024-12-23 01:25:58 +00:00
django/.pre-commit-config.yaml
David Smith 3bca95cca2 Fixed #32165 -- Added pre-commit hooks
* Added pre-commit hooks for isort, flake8 and eslint
* Added documentation on how to install and use the tool
2020-12-23 11:14:48 +01:00

14 lines
281 B
YAML

repos:
- repo: https://github.com/PyCQA/isort
rev: 5.6.4
hooks:
- id: isort
- repo: https://gitlab.com/pycqa/flake8
rev: 3.8.4
hooks:
- id: flake8
- repo: https://github.com/pre-commit/mirrors-eslint
rev: v7.16.0
hooks:
- id: eslint