-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
85 lines (74 loc) · 1.96 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
[project]
name = "nmass"
version = "0.2.0"
description = "A python3 library that makes it easier to use nmap and masscan."
authors = [{ name = "4shen0ne", email = "[email protected]" }]
readme = "README.md"
keywords = ['python', 'nmap', 'masscan']
requires-python = ">=3.9,<4.0"
classifiers = [
"Intended Audience :: Developers",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Software Development :: Libraries :: Python Modules",
]
dependencies = [
"lxml>=5.3.0",
"pydantic>=2.9.2",
"pydantic-xml>=2.13.1",
"typing-extensions>=4.12.2",
]
[project.urls]
Homepage = "https://zrquan.github.io/nmass/"
Repository = "https://github.com/zrquan/nmass"
Documentation = "https://zrquan.github.io/nmass/"
[tool.uv]
dev-dependencies = [
"ruff>=0.6.9",
"pre-commit>=2.20.0",
"pytest>=7.2.0",
"pytest-cov>=4.0.0",
"pytest-asyncio>=0.24.0",
"mypy>=0.991",
"lxml-stubs>=0.5.1",
"mkdocs>=1.4.2",
"mkdocs-material>=8.5.10",
"mkdocstrings[python]>=0.26.1",
"tox-uv>=1.11.3",
"deptry>=0.20.0",
]
[build-system]
requires = ["setuptools >= 61.0"]
build-backend = "setuptools.build_meta"
[tool.setuptools]
py-modules = ["nmass"]
[tool.mypy]
files = ["nmass"]
disallow_untyped_defs = true
disallow_any_unimported = true
no_implicit_optional = true
check_untyped_defs = true
warn_return_any = true
warn_unused_ignores = true
show_error_codes = true
plugins = ["pydantic_xml.mypy"]
[tool.pytest.ini_options]
testpaths = ["tests"]
[tool.ruff]
target-version = "py39"
line-length = 120
fix = true
[tool.ruff.lint]
select = ["E", "F", "W", "I"]
[tool.ruff.format]
preview = true
[tool.coverage.report]
skip_empty = true
[tool.coverage.run]
branch = true
source = ["nmass"]