Skip to content

Commit 68ad4c0

Browse files
committed
Add yesqa, put writing hooks first, autoupdate
1 parent 9df95e7 commit 68ad4c0

1 file changed

Lines changed: 17 additions & 12 deletions

File tree

.pre-commit-config.yaml

Lines changed: 17 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -8,31 +8,36 @@ repos:
88
files: \.py$
99
types: []
1010

11+
- repo: https://github.com/timothycrosley/isort
12+
rev: 4.3.21
13+
hooks:
14+
- id: isort
15+
16+
- repo: https://github.com/asottile/yesqa
17+
rev: v1.1.1
18+
hooks:
19+
- id: yesqa
20+
21+
- repo: https://github.com/Lucas-C/pre-commit-hooks
22+
rev: v1.1.7
23+
hooks:
24+
- id: remove-tabs
25+
exclude: (Makefile$|\.bat$|\.cmake$|\.eps$|\.fits$|\.opt$)
26+
1127
- repo: https://gitlab.com/pycqa/flake8
1228
rev: 3.8.2
1329
hooks:
1430
- id: flake8
1531
additional_dependencies: [flake8-2020, flake8-implicit-str-concat]
1632

17-
- repo: https://github.com/timothycrosley/isort
18-
rev: 4.3.21
19-
hooks:
20-
- id: isort
21-
2233
- repo: https://github.com/pre-commit/pygrep-hooks
2334
rev: v1.5.1
2435
hooks:
2536
- id: python-check-blanket-noqa
2637
- id: rst-backticks
2738

2839
- repo: https://github.com/pre-commit/pre-commit-hooks
29-
rev: v2.5.0
40+
rev: v3.1.0
3041
hooks:
3142
- id: check-merge-conflict
3243
- id: check-yaml
33-
34-
- repo: https://github.com/Lucas-C/pre-commit-hooks
35-
rev: v1.1.7
36-
hooks:
37-
- id: remove-tabs
38-
exclude: (Makefile$|\.bat$|\.cmake$|\.eps$|\.fits$|\.opt$)

0 commit comments

Comments
 (0)