-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
76 lines (70 loc) · 2.01 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
[project]
name = "packet-sender"
version = "1.0"
authors = [
{ name="Darius Sirvidas", email="[email protected]" },
]
description = "A command line interface for scapy"
readme = "README.md"
requires-python = ">=3.12"
classifiers = [
"License :: OSI Approved :: GNU General Public License v2 (GPLv2)",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.12",
]
dependencies = [
"scapy==2.6.0",
"json-type-hints==1.3",
"rich==13.8.1",
]
[project.optional-dependencies]
build = ["pyinstaller==6.10.0"]
lint = [
"ruff==0.6.8",
"pyright==1.1.383",
]
license = [
"pip-tools==7.4.1",
"third-party-license-file-generator==2024.8.23",
]
[project.urls]
Homepage = "https://github.com/cujoai/packet-sender"
[tool.ruff]
lint.select = ["ARG", "E", "F", "I", "PL", "RUF", "SIM", "UP"]
lint.ignore = ["PLR0913"] # too many function args
target-version = "py312"
line-length = 100
[tool.ruff.lint.per-file-ignores]
"convert.py" = ["F401"] # unused imports
[tool.pyright]
pythonVersion = "3.12"
reportCallInDefaultInitializer = true
reportDeprecated = true
reportFunctionMemberAccess = true
reportImportCycles = true
reportIncompatibleMethodOverride = true
reportIncompatibleVariableOverride = true
reportInconsistentConstructor = true
reportMatchNotExhaustive = true
reportMissingSuperCall = true
reportOverlappingOverload = true
reportPropertyTypeMismatch = true
reportShadowedImports = true
reportTypeCommentUsage = true
reportUnnecessaryCast = true
reportUnnecessaryComparison = true
reportUnnecessaryContains = true
reportUnnecessaryIsInstance = true
reportUnnecessaryTypeIgnoreComment = true
reportUntypedBaseClass = true
reportUntypedClassDecorator = true
reportUntypedFunctionDecorator = true
reportUntypedNamedTuple = true
strictDictionaryInference = true
strictListInference = true
strictSetInference = true
reportUnknownLambdaType = true
reportUnknownMemberType = true
reportUnknownParameterType = true