-
Notifications
You must be signed in to change notification settings - Fork 17
Expand file tree
/
Copy pathpyproject.toml
More file actions
101 lines (85 loc) · 1.88 KB
/
pyproject.toml
File metadata and controls
101 lines (85 loc) · 1.88 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
89
90
91
92
93
94
95
96
97
98
99
100
101
[project]
name = "zero-kernel-builder"
version = "0.6.5"
description = "Advanced Android kernel builder with Kali NetHunter support."
authors = [{name = "seppzer0"}]
readme = "README.md"
requires-python = ">=3.12"
[project.urls]
Repository = "https://github.com/seppzer0/zero-kernel"
Documentation = "https://github.com/seppzer0/zero-kernel/blob/main/README.md"
[project.scripts]
zkb = "zkb.__main__:main"
[dependency-groups]
main = [
"conan ~=1.6",
"requests ~=2.31",
"pathlib ~=1.0",
"pydantic ~=2.12",
]
dev = [
{include-group = "main"},
"bandit ~=1.7",
"pytest ~=8.4",
"pytest-cov ~=7.0",
"pyright ~=1.1",
"ruff ~=0.14",
"pre-commit ~=4.3",
"pylint ~=4.0", # for pyreverse
"pip",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["zkb"]
[tool.uv]
default-groups = ["dev"]
environments = [
"sys_platform == 'darwin'",
"sys_platform == 'linux'",
#"implementation_name == 'cpython'",
]
[[tool.uv.index]]
name = "pypi"
default = true
url = "https://pypi.org/simple"
[tool.coverage.run]
source = [
"zkb/clients",
"zkb/commands",
"zkb/configs",
"zkb/engines",
"zkb/managers"
]
[tool.coverage.report]
show_missing = true
[tool.pyright]
include = ["zkb"]
pythonVersion = "3.12"
venvPath = "."
venv = ".venv"
[tool.ruff]
include = ["zkb/**/*.py"]
indent-width = 4
line-length = 125
exclude = [
".git",
".pytest_cache",
".venv"
]
output-format = "full"
[tool.ruff.lint]
select = ["E", "Q", "D", "E501"]
ignore = ["D1", "D200", "D212"]
task-tags = ["TODO", "NOTE"]
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401"]
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.ruff.lint.flake8-quotes]
docstring-quotes = "double"
inline-quotes = "double"
[tool.pytest.ini_options]
addopts = "--import-mode=importlib -vv"
testpaths = ["tests"]