-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pre-commit-config.yaml
31 lines (31 loc) · 1.01 KB
/
.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
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks:
- id: trailing-whitespace
exclude: (?x)(tests/|README.md)
- id: end-of-file-fixer
exclude: (?x)(tests/|README.md)
- id: check-yaml
exclude: (?x)(tests/|README.md)
- id: debug-statements
exclude: (?x)(tests/|README.md)
- id: check-added-large-files
exclude: (?x)(tests/|README.md)
- id: requirements-txt-fixer
exclude: (?x)(tests/|README.md)
- repo: https://github.com/PyCQA/isort
rev: 5.12.0
hooks:
- id: isort
exclude: (?x)(tests/|README.md)
- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: v0.0.265
hooks:
- id: ruff
args: [--fix]
ci:
autofix_commit_msg: 🎨 [pre-commit.ci] Auto format from pre-commit.com hooks
autoupdate_commit_msg: ⬆ [pre-commit.ci] pre-commit autoupdate