-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathpyproject.toml
executable file
·103 lines (95 loc) · 1.82 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
[build-system]
requires = ["pdm-backend"]
build-backend = "pdm.backend"
[project]
dynamic = ["version"]
name = "maldump"
description = "Multi-quarantine extractor"
authors = [
{name = "Erik Kuna, Jež Dominik, Jonáš Novotný, Nikola Knežević"},
]
dependencies = [
"colorama==0.4.6",
"defusedxml==0.7.1",
"kaitaistruct==0.10",
"arc4==0.4.0",
"types-colorama==0.4.15.12",
]
requires-python = ">=3.8"
readme = "README.md"
license = {text = "GPLv3"}
classifiers = [
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Topic :: Security",
]
[project.urls]
Homepage = "https://github.com/NUKIB/maldump"
"Bug Tracker" = "https://github.com/NUKIB/maldump/issues"
[tool.pdm.version]
source = "file"
path = "maldump/__main__.py"
[project.scripts]
maldump = "maldump.__main__:main"
[tool.pdm.dev-dependencies]
lint = [
"ruff>=0.6.8",
"mypy>=1.11.1",
"typing>=3.7.4.3",
]
[tool.pdm]
distribution = true
[tool.ruff]
exclude = ["maldump/parsers/kaitai"]
[tool.ruff.lint]
# TODO: N, ANN, DTZ
select = [
"E",
"F",
"W",
"C90",
"I",
"UP",
"YTT",
"ASYNC",
"S",
"BLE",
"FBT",
"B",
"A",
"C4",
"T10",
"EM",
"FA",
"ISC",
"ICN",
"LOG",
"G",
"INP",
"PIE",
"PYI",
"Q",
"RSE",
"RET",
"SLF",
"SLOT",
"SIM",
"TID",
"TCH",
"INT",
"ARG",
"PL",
"TRY",
"FLY",
"PERF",
"FURB",
"RUF",
]
ignore = [
"ANN101", # self does not need annotation
"ANN102", # cls does not need annotation
"S324", # md5 is provided as output and not used as a security measure
"PLE0605", # pylint wrongly detects the type
"ISC001", # we use ruff format which recommends disabling this
]