-
Notifications
You must be signed in to change notification settings - Fork 118
/
pyproject.toml
115 lines (103 loc) · 2.57 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
110
111
112
113
114
115
[project]
name = "dnsgen"
version = "2.0.3"
description = "Advanced DNS name permutation engine for security assessments"
readme = "README.md"
authors = [
{ name = "Aleph Null s.r.o.", email = "[email protected]" },
]
keywords = ["dns", "security", "pentest", "subdomain", "enumeration"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Internet :: Name Service (DNS)",
"Topic :: Security",
"Typing :: Typed",
]
requires-python = ">=3.9"
dependencies = [
"click>=8.1.8",
"rich>=13.9.4",
"tldextract>=5.1.3",
]
[dependency-groups]
dev = [
"mypy>=1.14.1",
"pre-commit>=4.0.1",
"pytest>=8.3.4",
"ruff>=0.8.5"
]
[project.urls]
Homepage = "https://github.com/AlephNullSK/dnsgen"
Repository = "https://github.com/AlephNullSK/dnsgen"
[project.scripts]
dnsgen = "dnsgen.cli:main"
[tool.uv]
package = true
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
only-include = ["dnsgen/"]
[tool.hatch.build.targets.wheel.sources]
"dnsgen" = ""
[tool.ruff]
line-length = 120
target-version = "py312"
exclude = [
".direnv",
".eggs",
".git",
".git-rewrite",
".hg",
".ipynb_checkpoints",
".mypy_cache",
".nox",
".pants.d",
".pyenv",
".pytest_cache",
".pytype",
".ruff_cache",
"__init__.py",
"site-packages/",
"build",
"dist",
"venv"
]
[tool.ruff.lint]
select = ["I", "E", "F", "YTT"]
ignore = ["E203", "E266", "E501", "F403", "F401", "E731", "F841", "B905", "I001"]
fixable = ["ALL"]
unfixable = []
[tool.pytest.ini_options]
minversion = "6.0"
testpaths = [
"tests",
]
markers = [
"slow: marks tests as slow (deselect with '-m \"not slow\"')",
"integration: marks tests as integration tests",
"cli: marks tests as CLI tests"
]
filterwarnings = [
# Specific warnings
"ignore::pytest.PytestDeprecationWarning",
"ignore::pytest.PytestCollectionWarning",
"ignore:pkg_resources is deprecated as an API",
"ignore::DeprecationWarning",
"ignore::RuntimeWarning"
]
[tool.mypy]
python_version = "3.12"
show_error_codes = true
exclude = [".venv/"]
ignore_missing_imports = true
disable_error_code = ["import-untyped"]