-
-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy path.pre-commit-config.yaml
34 lines (34 loc) · 951 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
fail_fast: true
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: check-yaml
- id: trailing-whitespace
- id: check-added-large-files
- repo: local
hooks:
- id: styles
name: applying styles
language: system
always_run: true
pass_filenames: false
entry: poetry run python -m scripts.styles
- id: analyze
name: code analysis
language: system
always_run: true
pass_filenames: false
entry: poetry run python -m scripts.analyze
- id: tests
name: running tests
language: system
always_run: true
pass_filenames: false
entry: poetry run python -m scripts.tests
- id: tests-e2e
name: running e2e tests
language: system
always_run: true
pass_filenames: false
entry: poetry run python -m scripts.tests --e2e