-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpyproject.toml
83 lines (68 loc) · 1.8 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
[build-system]
requires = ["setuptools>=70.1"]
[project]
name = "getdents"
authors = [
{name = "ZipFile", email = "[email protected]"},
]
description = "Python binding to linux syscall getdents64."
readme = "README.rst"
requires-python = ">=3.8"
keywords = ["getdents"]
license = {text = "BSD-2-Clause"}
classifiers = [
"License :: OSI Approved :: BSD License",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: System :: Filesystems",
]
dynamic = ["version"]
[project.urls]
Source = "https://github.com/ZipFile/python-getdents"
[project.scripts]
python-getdents = "getdents.cli:main"
[project.optional-dependencies]
dev = [
"flake8",
"flake8-pyproject",
"isort",
"mypy",
"pytest",
"pytest-cov",
]
[tool.setuptools]
packages = ["getdents"]
include-package-data = true
[tool.setuptools.dynamic]
version = {attr = "getdents.__about__.__version__"}
[tool.setuptools.package-data]
getdents = ["py.typed"]
[tool.pytest.ini_options]
addopts = "--cov"
minversion = "7.0"
testpaths = ["tests"]
[tool.coverage.run]
branch = true
omit = ["getdents/__main__.py"]
source = ["getdents"]
[tool.isort]
profile = "black"
[tool.flake8]
application-import-names = ["getdents"]
max-line-length = 88
[tool.black]
line-length = 88
target-version = ["py38", "py39", "py310", "py311"]
[tool.mypy]
strict = true
warn_unused_configs = true
[tool.cibuildwheel]
archs = ["native"]
test-command = "pytest --import-mode=importlib -p no:cacheprovider {project}/tests"
test-requires = ["pytest", "pytest-cov"]
[tool.cibuildwheel.linux]
repair-wheel-command = [
"auditwheel repair -w {dest_dir} {wheel}",
"if [[ {wheel} =~ -abi3-.*\\.whl ]]; then pipx run abi3audit --strict --report {wheel}; fi",
]