forked from GeriLife/companionship
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.pre-commit-config.yaml
42 lines (36 loc) · 915 Bytes
/
.pre-commit-config.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
repos:
- repo: https://github.com/thibaudcolas/curlylint
rev: v0.13.1
hooks:
- id: curlylint
# pyupgrade - upgrade syntax for newer versions.
- repo: https://github.com/asottile/pyupgrade
rev: v2.7.3
hooks:
- id: pyupgrade
# black - formatting
- repo: https://github.com/psf/black
rev: 22.10.0
hooks:
- id: black
# isort - sorting imports
- repo: https://github.com/pycqa/isort
rev: 5.10.1
hooks:
- id: isort
# flake8 - linting
- repo: https://github.com/pycqa/flake8
rev: 5.0.4
hooks:
- id: flake8
args: [--max-line-length=170]
# django-upgrade - Automatically upgrade your Django projects.
- repo: https://github.com/adamchainz/django-upgrade
rev: 1.10.0
hooks:
- id: django-upgrade
# djhtml
- repo: https://github.com/rtts/djhtml
rev: v1.5.2
hooks:
- id: djhtml