mirror of
https://github.com/wagtail/wagtail.git
synced 2024-11-22 02:18:39 +01:00
Add pre-commit support
This commit is contained in:
parent
4134eb1a36
commit
f478cd54d7
13
.pre-commit-config.yaml
Normal file
13
.pre-commit-config.yaml
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
repos:
|
||||||
|
- repo: https://github.com/timothycrosley/isort
|
||||||
|
# isort config is in setup.cfg
|
||||||
|
rev: 5.6.4
|
||||||
|
hooks:
|
||||||
|
- id: isort
|
||||||
|
language_version: python3
|
||||||
|
- repo: https://gitlab.com/pycqa/flake8
|
||||||
|
# flake8 config is in setup.cfg
|
||||||
|
rev: 3.8.4
|
||||||
|
hooks:
|
||||||
|
- id: flake8
|
||||||
|
language_version: python3
|
Loading…
Reference in New Issue
Block a user