-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pre-commit-config.yaml
42 lines (36 loc) · 995 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
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/abravalheri/validate-pyproject
rev: v0.13
hooks:
- id: validate-pyproject
name: validate-pyproject
- repo: https://github.com/psf/black
rev: 23.3.0
hooks:
- id: black
name: black
args: ["--preview"]
- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: v0.0.272
hooks:
- id: ruff
name: ruff
args: ["--fixable=I","--fix"]
- repo: https://github.com/dosisod/refurb
rev: v1.16.0
hooks:
- id: refurb
name: refurb
- repo: https://github.com/igorshubovych/markdownlint-cli
rev: v0.34.0
hooks:
- id: markdownlint
name: markdownlint
- repo: https://github.com/adamchainz/blacken-docs
rev: 1.14.0
hooks:
- id: blacken-docs
name: blacken-docs
additional_dependencies: [black>=23.3.0]