-
Notifications
You must be signed in to change notification settings - Fork 43
/
.pre-commit-config.yaml
39 lines (39 loc) · 990 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
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- repo: https://github.com/jazzband/pip-tools
rev: 7.3.0
hooks:
- id: pip-compile
name: pip-compile
args: [--output-file=requirements.txt]
files: ^pyproject.toml$
- id: pip-compile
name: pip-compile-dev
args: [--extra=dev, --output-file=requirements-dev.txt]
files: ^pyproject.toml$
- repo: https://github.com/psf/black
rev: 23.12.0
hooks:
- id: black
name: black
- repo: https://github.com/pycqa/isort
rev: 5.13.2
hooks:
- id: isort
name: isort (python)
- repo: local
hooks:
- id: pylint
name: pylint
entry: pylint
language: system
types: [python]
args:
[
"-rn", # Only display messages
"-sn", # Don't display the score
]