Skip to content

Commit 9000943

Browse files
committed
MNT: Add flake8 to pre-commit, run prettier
1 parent 283bd8e commit 9000943

File tree

1 file changed

+15
-10
lines changed

1 file changed

+15
-10
lines changed

.pre-commit-config.yaml

+15-10
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
1-
exclude: '.*/data/.*'
1+
exclude: ".*/data/.*"
22
repos:
33
- repo: https://github.com/pre-commit/pre-commit-hooks
44
rev: v4.1.0
55
hooks:
6-
- id: trailing-whitespace
7-
- id: end-of-file-fixer
8-
- id: check-yaml
9-
- id: check-json
10-
- id: check-toml
11-
- id: check-added-large-files
12-
- id: check-case-conflict
13-
- id: check-merge-conflict
14-
- id: check-vcs-permalinks
6+
- id: trailing-whitespace
7+
- id: end-of-file-fixer
8+
- id: check-yaml
9+
- id: check-json
10+
- id: check-toml
11+
- id: check-added-large-files
12+
- id: check-case-conflict
13+
- id: check-merge-conflict
14+
- id: check-vcs-permalinks
1515
- repo: https://github.com/grantjenks/blue
1616
rev: v0.9.1
1717
hooks:
@@ -20,3 +20,8 @@ repos:
2020
rev: 5.11.2
2121
hooks:
2222
- id: isort
23+
- repo: https://github.com/pycqa/flake8
24+
rev: 6.0.0
25+
hooks:
26+
- id: flake8
27+
exclude: "^(doc|nisext|tools)/"

0 commit comments

Comments
 (0)