-
Notifications
You must be signed in to change notification settings - Fork 23
/
Copy pathsetup.cfg
137 lines (129 loc) · 2.34 KB
/
setup.cfg
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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
[aliases]
test=pytest
[coverage:report]
exclude_lines =
pragma: no cover
if TYPE_CHECKING:
if __name__ == '__main__':
[flake8]
avoid-escape = False
docstring_convention = google
docstring_style = google
extend-select =
# docstrings
D204,
D400,
D401,
D404,
D413,
ignore =
# do not enforce check error first
SIM106,
# allow line break after binary operator
W504,
#
# TODO: do not check annotations for now
ANN,
# TODO: Missing docstrings ok for now
D1,
# TODO: rely on pylint line length check for now
E501,
# TODO: disable upcase variable check for now
N806,
# TODO: allow TODO for now
T101,
max-line-length = 100
strictness = long
suppress-none-returning = True
[isort]
include_trailing_comma = True
line_length = 100
multi_line_output = 3
known_first_party =
marv,
marv_api,
marv_cli,
marv_detail,
marv_node,
marv_nodes,
marv_pycapnp,
marv_robotics,
marv_ros,
marv_store,
marv_webapi,
[mypy]
ignore_missing_imports = True
[pydocstyle]
convention = google
add-select = D204,D400,D401,D404,D413
[pylint.MASTER]
max-line-length = 100
disable =
duplicate-code,
ungrouped-imports,
#
consider-using-f-string,
cyclic-import,
fixme,
missing-class-docstring,
missing-function-docstring,
missing-module-docstring,
raise-missing-from,
redefined-builtin,
exclude-protected =
_asdict,
_meta,
_table_name,
good-names =
_,
e,
ep,
f,
fd,
id,
kw,
log,
np,
pd,
rv,
ts
max-args = 6
ignored-modules =
capnp.lib.capnp,
cv2,
marv_detail.types_capnp,
marv_nodes.types_capnp,
marv_pycapnp.types_capnp,
pydantic,
[yapf]
based_on_style = google
column_limit = 100
allow_split_before_dict_value = false
dedent_closing_brackets = true
indent_dictionary_value = false
[tool:pytest]
addopts =
-v
--flake8
--pylint
--pylint-jobs=0
--yapf
--cov=code
--cov-branch
--cov-report=html
--cov-report=term
--no-cov-on-fail
--ignore=docs/conf.py
# exclude the symlinked tutorials
--ignore-glob=docs/tutorial/**
--ignore-glob='flycheck_*'
--ignore-glob='**/flycheck_*'
--junitxml=pytest-report.xml
junit_family = xunit2
markers =
marv
marv_conf
testpaths =
code
docs
tutorial