-
Notifications
You must be signed in to change notification settings - Fork 27
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
43 lines (37 loc) · 1.04 KB
/
.pre-commit-config.yaml
File metadata and controls
43 lines (37 loc) · 1.04 KB
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
43
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
ci:
autoupdate_commit_msg: 'chore: update pre-commit hooks'
autoupdate_schedule: monthly
autofix_commit_msg: 'style: pre-commit fixes'
autofix_prs: false
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v6.0.0
hooks:
- id: trailing-whitespace
- id: check-yaml
- id: check-added-large-files
- id: check-json # checks json files for parseable syntax.
- repo: https://github.com/codespell-project/codespell
rev: v2.4.1
hooks:
- id: codespell
args: [--config, ./.codespellrc]
- repo: https://github.com/pycqa/isort
rev: 8.0.1
hooks:
- id: isort
args: [--profile, black]
- repo: https://github.com/psf/black-pre-commit-mirror
rev: "26.1.0"
hooks:
- id: black
- repo: https://github.com/asottile/pyupgrade
rev: v3.21.2
hooks:
- id: pyupgrade
- repo: https://github.com/pycqa/flake8
rev: "7.3.0"
hooks:
- id: flake8