-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpyproject.toml
109 lines (79 loc) · 1.62 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
104
105
106
107
108
109
[build-system]
requires = [
"setuptools",
]
build-backend = "setuptools.build_meta"
[project]
name = "pukpuk"
dynamic = ["version"]
description = "HTTP discovery toolkit"
authors = [{name = "tasooshi", email = "tasooshi@pm.me"}]
readme = "README.md"
requires-python = ">=3.12"
keywords = [
"HTTP",
"discovery",
"scanning",
]
license = {text = "MIT License"}
classifiers = [
"Development Status :: 5 - Production/Stable",
"Topic :: Utilities",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]
dependencies = [
"dnspython>=2.7.0",
"netaddr>=1.3.0",
"pillow>=11.1.0",
"pyopenssl>=25.0.0",
"requests>=2.32.3",
]
[project.urls]
Source = "https://github.com/tasooshi/pukpuk/"
[project.scripts]
pukpuk = "pukpuk.cli:main"
[tool.setuptools.dynamic]
version = {attr = "pukpuk.version.__version__"}
[tool.tox]
requires = [
"tox",
]
env_list = [
"3.12",
"3.13",
]
[tool.tox.env_run_base]
description = "Run test under {base_python}"
commands = [
["pytest"],
]
deps = [
"pytest",
"coverage",
"pytest-cov",
"pytest-docker",
]
[tool.pytest.ini_options]
testpaths = ["tests"]
pythonpath = "src"
addopts = [
"-vv",
# "--capture=no", # NOTE: Use for debugging inside the test cases.
]
[tool.coverage.run]
source = ["src"]
omit = ["tests", "src/pukpuk/version.py"]
[tool.coverage.report]
exclude_also = [
"logs.logger",
]
[dependency-groups]
dev = [
"coverage>=7.6.10",
"pytest>=8.3.4",
"pytest-cov>=6.0.0",
"pytest-docker>=3.1.1",
"tox>=4.24.1",
]