-
Notifications
You must be signed in to change notification settings - Fork 10
/
pyproject.toml
77 lines (67 loc) · 1.93 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
[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",
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Topic :: Security",
]
dependencies = [
"abi3info >= 2024.06.19",
"kaitaistruct ~= 0.10",
"packaging >= 21.3,< 25.0",
"pefile >= 2022.5.30",
"pyelftools >= 0.29",
"requests >= 2.28.1,< 2.33.0",
"requests-cache >= 0.9.6,< 1.3.0",
"rich >= 12.5.1,< 13.10.0",
]
requires-python = ">=3.9"
[project.urls]
Homepage = "https://pypi.org/project/abi3audit/"
Issues = "https://github.com/pypa/abi3audit/issues"
Source = "https://github.com/pypa/abi3audit"
[project.optional-dependencies]
test = ["pytest", "pytest-cov", "pretend", "coverage[toml]"]
lint = ["bandit", "interrogate", "mypy", "ruff", "types-requests"]
dev = ["build", "pdoc3", "abi3audit[test,lint]"]
[project.scripts]
abi3audit = "abi3audit._cli:main"
[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.coverage.run]
omit = ["abi3audit/_vendor/*"]
[tool.ruff]
line-length = 100
[tool.ruff.lint]
select = ["E", "F", "I", "W", "UP"]