forked from ec-jrc/Thalassa
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.prospector.yml
94 lines (87 loc) · 1.62 KB
/
.prospector.yml
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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
---
inherits:
- "strictness_veryhigh"
strictness: "veryhigh"
test-warnings: true
doc-warnings: true
member-warnings: true
ignore-paths:
- "venv"
- "venv.bak"
- ".venv"
- ".venv.bak"
- "docs"
# - "test"
pylint:
disable:
- "bad-continuation" # there is a conflict with black in function arguments
- "empty-docstring"
- "fixme"
- "line-too-long"
- "missing-docstring"
- "missing-module-docstring"
- "no-else-raise"
- "no-else-return"
- "too-few-public-methods"
- "too-many-arguments"
- "wrong-import-order"
options:
max-line-length: 109
extension-pkg-whitelist:
- "pydantic"
max-args: 7
good-names:
# counters
- "i"
- "j"
- "k"
- "n"
# dimensions
- "h"
- "w"
- "l"
# vectors
- "x"
- "y"
- "z"
# files
- "fd"
# pandas
- "df"
- "sr"
- "ts"
# geopandas
- "gs"
- "gf"
# xarray
- "ds"
- "da"
# matplotlib
- "ax"
- "rc"
# various
- "logger"
- "router"
- "app"
- "env"
# alembic
- "revision"
- "down_revision"
- "branch_labels"
- "depends_on"
contextmanager-decorators:
- "contextlib.contextmanager"
- "decorator.contextmanager"
mccabe:
run: true
pep8:
options:
max-line-length: 109
disable:
- "E203" # disable whitespace before colon - useful for numpy slicing
- "E501" # disable line too length. No reason to check for line length in each and every tool
pep257:
run: false
disable:
- 'D400'
- 'D401'