-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyqual.yaml
More file actions
49 lines (38 loc) · 800 Bytes
/
pyqual.yaml
File metadata and controls
49 lines (38 loc) · 800 Bytes
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
pipeline:
name: python-linters
metrics:
# Ruff gates
ruff_errors_max: 10
ruff_fatal_max: 0
ruff_warnings_max: 20
# Pylint gates
pylint_score_min: 8.0
pylint_errors_max: 5
pylint_warnings_max: 10
# Flake8 gates
flake8_violations_max: 20
flake8_errors_max: 5
# Mypy gates
mypy_errors_max: 5
# Documentation gates
docstring_coverage_min: 90
docstring_missing_max: 10
stages:
- name: ruff
tool: ruff
optional: true
- name: pylint
tool: pylint
optional: true
- name: flake8
tool: flake8
optional: true
- name: mypy
tool: mypy
optional: true
- name: interrogate
tool: interrogate
optional: true
loop:
max_iterations: 1
on_fail: report