-
Notifications
You must be signed in to change notification settings - Fork 28
/
.pre-commit-config.yaml
55 lines (49 loc) · 1.29 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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
default_stages: [commit]
repos:
- repo: local
hooks:
- id: version-check
name: Check if version(s) are in sync
always_run: true
language: system
entry: python scripts/version_check.py --fix sqlalchemy_exasol/version.py
- repo: local
hooks:
- id: isort
name: isort
types: [python]
pass_filenames: false
language: system
entry: poetry run python -m nox -s isort
- repo: local
hooks:
- id: pyupgrade
name: pyupgrade
types: [python]
pass_filenames: false
language: system
entry: poetry run python -m nox -s pyupgrade
- repo: local
hooks:
- id: code-format
name: code-format
types: [python]
pass_filenames: false
language: system
entry: poetry run python -m nox -s code-format
- repo: local
hooks:
- id: type-check
name: type-check
types: [python]
pass_filenames: false
language: system
entry: poetry run python -m nox -s type-check
- repo: local
hooks:
- id: lint
name: lint
types: [python]
pass_filenames: false
language: system
entry: poetry run python -m nox -s lint