-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
70 lines (61 loc) · 1.64 KB
/
Copy pathpyproject.toml
File metadata and controls
70 lines (61 loc) · 1.64 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
[project]
name = "mkx"
dynamic = ["version"]
description = "CLI for exploring IoT and network devices"
authors = [
{name = "Henrique Sebastião", email = "contato@henriquesebastiao.com"},
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Intended Audience :: System Administrators",
"Intended Audience :: Telecommunications Industry",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Natural Language :: English",
"Programming Language :: Python :: 3.13",
"Topic :: Security",
"Topic :: Internet"
]
readme = "README.md"
requires-python = ">=3.14"
dependencies = [
"httpx>=0.28.1",
"prompt-toolkit>=3.0.52",
"pydantic>=2.13.4",
"pysnmp>=7.1.27",
"typer>=0.26.7",
"upnpy>=1.1.8",
]
[dependency-groups]
dev = [
"ruff>=0.15.18",
"taskipy>=1.14.1",
]
[project.scripts]
mkx = "mkx.cli:app"
[tool.uv]
upgrade = true
package = true
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[tool.ruff]
line-length = 99
[tool.ruff.lint]
preview = true
select = ['I', 'F', 'E', 'W', 'PL', 'PT']
[tool.ruff.format]
preview = true
quote-style = 'single'
[tool.ruff.lint.per-file-ignores]
"*.py" = ["F403", "E722", "PLW3201", "PLW0603", "PLW0602"]
"snmp.py" = ["PLR2004", "PLR0912", "PLR0915"]
"ddos.py" = ["PLR0913", "PLR0917"]
"helps.py" = ["E501"]
"kill_web_server.py" = ["E501"]
"network.py" = ["PLR2004"]
"upnp.py" = ["PLR2004", "E501", "PLR1702", "PLR0915", "PLR0912"]
[tool.taskipy.tasks]
lint = 'ruff check .; ruff check . --diff'
format = 'ruff format .; ruff check . --fix'