-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathpyproject.toml
88 lines (75 loc) · 1.69 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
[project]
name = "zero-kernel"
version = "0.6.0"
description = "Advanced Android kernel builder with Kali NetHunter support."
authors = [{name = "seppzer0"}]
readme = "README.md"
requires-python = ">=3.12"
dependencies = [
"argparse",
"conan ~=1.6",
"requests ~=2.31",
"pathlib ~=1.0",
"typing ~=3.7",
"pydantic ~=2.6",
]
[project.urls]
Repository = "https://github.com/seppzer0/zero_kernel"
Documentation = "https://github.com/seppzer0/zero_kernel/blob/main/README.md"
[project.scripts]
buildz = "zero_builder:main"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["builder"]
[tool.uv]
environments = [
"sys_platform == 'darwin'",
"sys_platform == 'linux'",
#"implementation_name == 'cpython'",
]
dev-dependencies = [
"bandit ~=1.7",
"pytest ~=8.0",
"pytest-cov ~=4.1",
"pyright ~=1.1",
"pylint ~=3.1",
"ruff ~=0.7",
"pre-commit ~=4.2",
"pip",
]
[tool.coverage.run]
source = [
"builder/clients",
"builder/commands",
"builder/configs",
"builder/engines",
"builder/managers"
]
[tool.coverage.report]
show_missing = true
[tool.pyright]
include = ["builder"]
pythonVersion = "3.12"
[tool.ruff]
include = ["builder/**/*.py", "scripts/**/*.py"]
indent-width = 4
line-length = 120
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"