-
Notifications
You must be signed in to change notification settings - Fork 12
/
.pre-commit-config.yaml
37 lines (37 loc) · 999 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
# 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.3.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- id: check-added-large-files
- id: check-json
- id: mixed-line-ending
- repo: https://github.com/ambv/black
rev: 22.10.0
hooks:
- id: black
- repo: https://github.com/PyCQA/pylint
rev: v2.15.6
hooks:
- id: pylint
args:
- --rcfile=.pylintrc
- --disable=F0401,W0402,E1101,C0114
exclude: |
(?x)^(
docs/conf.py
)$
- repo: https://github.com/PyCQA/isort
rev: 5.12.0
hooks:
- id: isort
- repo: https://github.com/MarcoGorelli/auto-walrus
rev: 'v0.2.2'
hooks:
- id: auto-walrus
name: Auto-apply the walrus operator :=
exclude: .+?\.(cm|ps|bpseq|tr|fasta|xml|svg)$