-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pre-commit-config.yaml
68 lines (60 loc) · 1.79 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
56
57
58
59
60
61
62
63
64
65
66
67
68
repos:
- repo: local
hooks:
- id: ruff
name: ruff
description: "Run 'ruff' for extremely fast Python linting"
entry: ruff check --force-exclude
language: python
types_or: [python, pyi]
args: []
require_serial: true
additional_dependencies: []
minimum_pre_commit_version: "2.9.2"
- id: ruff-format
name: ruff-format
description: "Run 'ruff format' for extremely fast Python formatting"
entry: ruff format --force-exclude
language: python
types_or: [python, pyi]
args: []
require_serial: true
additional_dependencies: []
minimum_pre_commit_version: "2.9.2"
- id: black-fix
name: black (auto format)
entry: ./env/Scripts/black.exe
language: system
types: [python]
- id: isort-fix
name: isort (auto sort)
entry: ./env/Scripts/isort.exe
language: system
types: [python]
- id: black
name: black
entry: ./env/Scripts/black.exe
language: system
types: [python]
- id: isort
name: isort
entry: ./env/Scripts/isort.exe
language: system
types: [python]
- id: mypy
name: mypy
entry: ./env/Scripts/mypy.exe
language: system
types: [python]
- id: pytest-selenium
name: pytest (selenium tests)
entry: ./env/Scripts/pytest.exe
args: ['tests/', '-k', 'selenium', '--webdriver', 'Firefox', '--testmon']
language: system
pass_filenames: false
- id: pytest-non-selenium
name: pytest (non-selenium tests)
entry: ./env/Scripts/pytest.exe
args: ['tests/', '-k', 'not selenium', '--testmon']
language: system
pass_filenames: false