-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
103 lines (86 loc) · 2.15 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
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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.version]
path = "ebcl/__init__.py"
[tool.hatch.build.targets.wheel]
packages = ["ebcl"]
[project]
name = "ebcl"
dynamic = ["version"]
authors = [
{ name="Elektrobit GmbH", email="info@elektrobit.com" },
]
description = "EBcL build helpers."
readme = "README.md"
classifiers = [
"Programming Language :: Python :: 3",
"Development Status :: 3 - Alpha",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Operating System :: POSIX :: Linux",
"Topic :: Software Development :: Embedded Systems",
]
requires-python = ">=3.10"
dependencies = [
"requests",
"pyyaml",
"jsonpickle",
"unix_ar",
"zstandard",
"jinja2"
]
[project.urls]
Homepage = "https://github.com/Elektrobit/ebcl_template"
[project.scripts]
boot_generator = "ebcl.tools.boot.boot:main"
initrd_generator = "ebcl.tools.initrd.initrd:main"
root_generator = "ebcl.tools.root.root:main"
root_configurator = "ebcl.tools.root.root_config:main"
package_downloader = "ebcl.tools.downloader.downloader:main"
[tool.pylint.format]
max-line-length = 120
[tool.pylint.'MESSAGES CONTROL']
disable = [
"E0402",
"W0212",
"W0718"
]
[tool.pytest.ini_options]
minversion = "6.2.5"
addopts = ""
testpaths = [ "tests" ]
markers = [
"dev_container: tests requiring tools only avaiable in the dev container, e.g. kiwi-ng.",
"requires_download: tests requiring downloads form public resources, which is not allowed for GH actions",
]
[tool.coverage.paths]
source = [
"ebcl",
"*/site-packages/ebcl"
]
[tool.coverage.run]
branch = true
source = ["ebcl"]
[tool.coverage.report]
include_namespace_packages = true
exclude_also = [
"@(abc\\.)?abstractmethod",
"def __repr__"
]
include = ["ebcl/*"]
[tool.coverage.html]
show_contexts = true
[tool.mypy]
mypy_path = "$MYPY_CONFIG_FILE_DIR/ebcl"
explicit_package_bases = true
[tool.flake8]
ignore = ['C901']
per-file-ignores = [
'ebcl/common/dependency.py:F841',
'ebcl/tools/proxy/proxy.py:F841',
'ebcl/tools/root/debootstrap.py:W503',
]
count = true
statistics = true
max-line-length = 120
exclude = '.venv'