File: pyproject.toml

package info (click to toggle)
python-auditwheel 6.6.0%2Bds1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 980 kB
  • sloc: python: 6,165; ansic: 304; cpp: 66; sh: 28; makefile: 25; f90: 12
file content (135 lines) | stat: -rw-r--r-- 3,572 bytes parent folder | download
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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
[build-system]
requires = ["setuptools>=61", "setuptools_scm>=8"]
build-backend = "setuptools.build_meta"

[project]
name = "auditwheel"
dynamic = ["version"]
description = "Cross-distribution Linux wheels"
readme = "README.rst"
license = {text = "MIT" }
requires-python = ">=3.10"
authors = [
    { name = "Robert T. McGibbon", email = "rmcgibbo@gmail.com" },
]
classifiers = [
    "Development Status :: 4 - Beta",
    "Environment :: Console",
    "Intended Audience :: Developers",
    "License :: OSI Approved :: MIT License",
    "Operating System :: POSIX :: Linux",
    "Programming Language :: Python :: 3",
    "Programming Language :: Python :: 3.10",
    "Programming Language :: Python :: 3.11",
    "Programming Language :: Python :: 3.12",
    "Programming Language :: Python :: 3.13",
    "Programming Language :: Python :: 3.14",
    "Programming Language :: Python :: 3 :: Only",
    "Topic :: Software Development",
    "Topic :: Software Development :: Build Tools",
    "Topic :: Software Development :: Libraries :: Python Modules",
]
dependencies = [
    "packaging>=20.9",
    "pyelftools>=0.24",
]

[project.scripts]
auditwheel = "auditwheel.main:main"

[project.urls]
Homepage = "https://github.com/pypa/auditwheel"

[dependency-groups]
test = ["pytest>=3.4", "jsonschema", "patchelf", "pretend", "docker"]
coverage = ["pytest-cov>=7", "coverage[toml]>=7.13", {include-group = "test"}]
dev = [{include-group = "test"}, {include-group = "coverage"}]

[tool.setuptools]
include-package-data = true
zip-safe = false

[tool.setuptools.packages.find]
where = ["src"]
namespaces = false

[tool.setuptools.package-data]
auditwheel = ["*.json"]

[tool.setuptools_scm]
# enable version inference

[tool.coverage.run]
branch = true
parallel = true
patch = ["subprocess"]
omit = [
  "*/_vendor/*",
]

[tool.coverage.paths]
source = [
    "src/auditwheel/",
    "/auditwheel_src/src/auditwheel/",
]

[tool.coverage.report]
exclude_also = [
    "raise NotImplementedError",
]

[tool.mypy]
check_untyped_defs = true
disallow_any_generics = true
disallow_incomplete_defs = true
disallow_subclassing_any = true
disallow_untyped_defs = false
enable_error_code = ["ignore-without-code", "redundant-expr", "truthy-bool"]
extra_checks = true
strict = false
strict_equality = true
warn_redundant_casts = true
warn_unreachable = false
warn_unused_configs = true
warn_unused_ignores = true
untyped_calls_exclude = ["elftools.elf.elffile.ELFFile", "elftools.elf.sections.NoteSection"]

[[tool.mypy.overrides]]
module = "auditwheel.*"
disallow_untyped_calls = true
disallow_untyped_decorators = true
disallow_untyped_defs = true
warn_return_any = true

[[tool.mypy.overrides]]
module = "auditwheel._vendor.*"
follow_imports = "skip"
ignore_errors = true

[tool.pytest.ini_options]
log_cli = true
log_cli_level = 20

[tool.ruff]
target-version = "py310"
line-length = 100
lint.select = ["ALL"]
lint.ignore = [
  "C901",
  "D",  # TODO add doc
  "FIX002", # TODO
  "PLR",    # Design related pylint codes
  "S6",     # TODO flake8-bandit subprocess related
  "TD",
]
exclude = ["src/auditwheel/_vendor"]

[tool.ruff.lint.per-file-ignores]
"scripts/calculate_symbol_versions.py" = ["ANN", "INP001", "PTH", "T201"]
"src/auditwheel/lddtree.py" = ["PTH"]
"src/auditwheel/main*.py" = ["PLC0415", "T201"]
"src/auditwheel/condatools.py" = ["ANN204"]
"src/auditwheel/wheeltools.py" = ["ANN204"]
"tests/**.py" = ["ANN", "ERA001", "FBT", "FIX002", "S101", "SLF001", "T201", "TC002", "TC003", "TD"]
"tests/integration/**.py" = ["PTH"]
"tests/integration/*/**.py" = ["INP001", "PERF"]