This repository was archived by the owner on Feb 8, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
88 lines (73 loc) · 1.9 KB
/
pyproject.toml
File metadata and controls
88 lines (73 loc) · 1.9 KB
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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.version]
path = "src/libapt/__init__.py"
[tool.hatch.build.targets.wheel]
packages = ["src/libapt"]
[project]
name = "libapt"
dynamic = ["version"]
authors = [
{ name="Elektrobit GmbH", email="info@elektrobit.com" },
{ name="AOX Technologies GmbH", email="info@aox.de" },
{ name="Thomas Irgang", email="thomas@irgang.eu" },
]
description = "Libapt provides a generic pure Python interface for Debian APT repositories.."
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",
"typing_extensions",
"unix_ar",
"zstandard"
]
[project.urls]
Homepage = "https://github.com/Elektrobit/ebcl_build_tools"
[tool.pylint.format]
max-line-length = 120
[tool.pylint.'MESSAGES CONTROL']
disable = []
[tool.pytest.ini_options]
minversion = "6.2.5"
addopts = "--cov --cov-context=test --cov-report html -rP"
testpaths = [ "tests" ]
markers = [
"requires_download: tests requiring downloads form public resources, which is not allowed for GH actions",
]
log_level = "debug"
[tool.coverage.paths]
source = [
"src/libapt",
"*/site-packages/libapt"
]
[tool.coverage.run]
branch = true
source = ["libapt", "src"]
[tool.coverage.report]
include_namespace_packages = true
exclude_also = [
"@(abc\\.)?abstractmethod",
"def __repr__"
]
include = ["src/*"]
[tool.coverage.html]
show_contexts = true
[tool.mypy]
mypy_path = "$MYPY_CONFIG_FILE_DIR/src"
explicit_package_bases = true
disable_error_code = "type-abstract"
[tool.flake8]
ignore = []
per-file-ignores = []
count = true
statistics = true
max-line-length = 120
exclude = '.venv'