forked from pypa/abi3audit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
99 lines (89 loc) · 2.07 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
[build-system]
requires = ["flit_core >=3.2,<4"]
build-backend = "flit_core.buildapi"
[project]
name = "abi3audit"
dynamic = ["version"]
description = "Scans Python wheels for abi3 violations and inconsistencies"
readme = "README.md"
license = { file = "LICENSE" }
authors = [
{ name = "William Woodruff", email = "william@trailofbits.com" }
]
classifiers = [
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Topic :: Security",
]
dependencies = [
"abi3info >= 0.0.5",
"kaitaistruct ~= 0.10",
"packaging >= 21.3,< 23.0",
"pefile >= 2022.5.30",
"pyelftools >= 0.29",
"requests ~= 2.28.1",
"requests-cache ~= 0.9.6",
"rich >= 12.5.1,< 12.7.0",
]
requires-python = ">=3.10"
[project.urls]
Homepage = "https://pypi.org/project/abi3audit/"
Issues = "https://github.com/trailofbits/abi3audit/issues"
Source = "https://github.com/trailofbits/abi3audit"
[project.optional-dependencies]
test = [
"pytest",
"pytest-cov",
"pretend",
"coverage[toml]",
]
lint = [
"bandit",
"flake8",
"black",
"isort",
"interrogate",
"mypy",
"types-requests",
]
dev = [
"build",
"pdoc3",
"abi3audit[test,lint]",
]
[project.scripts]
abi3audit = "abi3audit._cli:main"
[tool.isort]
multi_line_output = 3
known_first_party = "abi3audit"
include_trailing_comma = true
[tool.interrogate]
exclude = ["env", "test", "codegen"]
ignore-semiprivate = true
fail-under = 100
[tool.mypy]
allow_redefinition = true
check_untyped_defs = true
disallow_incomplete_defs = true
disallow_untyped_defs = true
exclude = ["_vendor/"]
ignore_missing_imports = true
no_implicit_optional = true
show_error_codes = true
strict_equality = true
warn_no_return = true
warn_redundant_casts = true
warn_return_any = true
warn_unreachable = true
warn_unused_configs = true
warn_unused_ignores = true
[tool.bandit]
exclude_dirs = ["./test"]
[tool.black]
line-length = 100
[tool.coverage.run]
omit = ["abi3audit/_vendor/*"]