forked from petersulyok/smfc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
44 lines (40 loc) · 1.37 KB
/
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# pytest options
[tool.pytest.ini_options]
pythonpath = "src"
filterwarnings = [ "default", "ignore::pytest.PytestCollectionWarning"]
# flake8 options
[tool.flake8]
exclude = [
"doc", "htmlcov", ".git", "__pycache__", ".pytest_cache", ".vscode", ".idea", "venv*", ".venv*"
]
max-line-length = 120
count = true
show-source = true
statistics = true
per-file-ignores = [
# closing bracket does not match indentation of opening bracket's line
"test_03_fancontroller.py: E123",
# undefined name
"test_04_cpuzone.py: F821",
"test_05_hdzone.py: F821",
# indentation contains tabs
# indentation contains mixed spaces and tabs
"test_00_data.py: W191, E101"
]
# 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")'
[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"
]