-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
.pre-commit-config.yaml
41 lines (41 loc) · 1.35 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
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
hooks:
- id: debug-statements
- repo: https://github.com/PyCQA/flake8
rev: 6.1.0
hooks:
- id: flake8
language_version: python3.9
additional_dependencies:
- dlint
- flake8-bugbear
- flake8-type-checking
- repo: https://github.com/isidentical/teyit # unit test formatter
rev: 0.4.3
hooks:
- id: teyit
language_version: python3.9
- repo: https://github.com/rhysd/actionlint
rev: v1.6.26
hooks:
- id: actionlint-docker
# SC2129 - Consider using { cmd1; cmd2; } >> file instead of individual redirects.
args: ["-ignore", "SC2129"]
- repo: https://github.com/Madoshakalaka/pipenv-setup # Pipfile to setup.py sync checker
rev: v3.2.0
hooks:
- id: pipenv-setup
language_version: python3.9
entry: pipenv-setup check
args: []
additional_dependencies:
- vistir<0.7.0 # can be removed, when v4.0.0 of pipenv-setup comes out
- plette<1.0.0 # Solve issue of import error for plette.models
- repo: https://github.com/seddonym/import-linter # checks the import dependencies between each other
rev: v1.12.1
hooks:
- id: import-linter
language_version: python3.9
args: ["--show-timings"]