-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathpyproject.toml
25 lines (22 loc) · 898 Bytes
/
pyproject.toml
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
# pytest options
[tool.pytest.ini_options]
pythonpath = "src"
filterwarnings = [ "default", "ignore::pytest.PytestCollectionWarning"]
# coverage options
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"if __name__ == .__main__.:",
"unittest.main()"
]
# pylint options
[tool.pylint.'MASTER']
init-hook='import sys; sys.path.append("."); sys.path.append("./src"); sys.path.append("./test")'
max-line-length=120
[tool.pylint.'MESSAGES CONTROL']
disable= [
"too-many-branches", "too-many-instance-attributes", "too-many-statements", "too-many-arguments",
"too-many-locals", "too-many-public-methods", "invalid-name", "line-too-long", "missing-module-docstring",
"pointless-string-statement", "duplicate-code", "unsubscriptable-object", "too-many-lines",
"assignment-from-no-return", "protected-access", "no-member", "too-many-positional-arguments"
]