-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.prospector.yaml
69 lines (58 loc) · 1.23 KB
/
.prospector.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
69
output-format: json
strictness: medium
test-warnings: true
doc-warnings: true
max-line-length: 150
ignore-paths:
- tests
ignore-patterns:
- __init__.py # ignore all init files in the entire repo
# pycodestyle/pep8 coding guidelines
pycodestyle:
full: true
# pydocstyle/pep257 coding guidelines
pydocstyle:
run: true
disable:
- D212
# pylint
## enforces a coding standard,
## looks for code smells,
## and can make suggestions about how the code could be refactored
pylint:
run: true
disable:
- too-many-arguments
- logging-not-lazy
- logging-fstring-interpolation
- too-many-locals
# pyflakes
## analyzes programs and detects various errors
pyflakes:
run: true
# mccabe
## measures code complexity
mccabe:
run: true
# dodgy
## looks for things which should not be in a public project like secret keys
dodgy:
run: true
# mypy
## type checking
mypy:
run: true
# # bandit
# ## looks for common security issues
# bandit:
# run: true
# pyroma
## a tool to check your setup.py to ensure it is following best practices
pyroma:
run: true
# vulture
## finds unused classes, functions and variables in your code
vulture:
run: true
disable:
- unused-function