forked from cockpit-project/cockpit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
58 lines (48 loc) · 1.16 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
[build-system]
requires = ["setuptools >= 61"]
build-backend = "setuptools.build_meta"
[project]
name = "cockpit"
version = '0'
[project.scripts]
cockpit-bridge = "cockpit.bridge:main"
[tool.setuptools.packages.find]
where = ["src"]
include = [
"cockpit",
"cockpit.channels",
"cockpit.data",
"systemd_ctypes",
]
[tool.setuptools.package-data]
"cockpit.data" = ["*.html"]
[tool.mypy]
mypy_path = 'src'
[tool.pylint]
max-line-length = 118
disable = [
"C0114", # Missing module docstring
"C0115", # Missing class docstring
"R0902", # Too many instance attributes
"R0903", # Too few public methods
"R0913", # Too many arguments
"R1705", # Unnecessary "else" after "return"
"W1113", # Keyword argument before variable positional arguments (PEP-570 is Python 3.8)
]
[tool.pytest.ini_options]
pythonpath = ["src"]
testpaths = ["test/pytest"]
log_cli = true
[tool.coverage.paths]
source = ["src", "*/site-packages"]
[tool.coverage.run]
concurrency = ["multiprocessing"]
source_pkgs = ["cockpit"]
branch = true
[tool.coverage.report]
show_missing = true
skip_covered = true
exclude_lines = [
"pragma: no cover", # default
"raise NotImplementedError",
]