-
Notifications
You must be signed in to change notification settings - Fork 121
Expand file tree
/
Copy pathpyproject.toml
More file actions
40 lines (32 loc) · 1.25 KB
/
Copy pathpyproject.toml
File metadata and controls
40 lines (32 loc) · 1.25 KB
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
[build-system]
requires = ["setuptools", "wheel", "cffi>=0.8", "patch-ng"]
build-backend = "setuptools.build_meta"
[tool.pytest.ini_options]
markers = ["mdb_layout: low-level LMDB data layout validation tests"]
addopts = "-m 'not mdb_layout'"
[tool.mypy]
# Type-check the unit tests so the public, stubbed API stays usable for
# downstream users regardless of which type checker they run (see issue #469).
python_version = "3.9"
files = ["tests"]
# Different checkers emit different error codes, so a code-specific ignore that
# satisfies one can be flagged "unused" by another. Don't police unused
# ignores here; pyright handles its own.
warn_unused_ignores = false
# pytest ships py.typed but its internals use syntax newer than our minimum
# (3.9) target; treat it as untyped rather than analysing its source.
[[tool.mypy.overrides]]
module = ["pytest", "_pytest.*"]
follow_imports = "skip"
ignore_missing_imports = true
[tool.cibuildwheel]
build-verbosity = 1
skip = "*-musllinux_*"
# Before building, install patch-ng, which is needed for applying patches.
before-build = "pip install cffi patch-ng"
[tool.cibuildwheel.linux]
archs = ["x86_64", "aarch64"]
[tool.cibuildwheel.macos]
archs = ["x86_64", "arm64"]
[tool.cibuildwheel.windows]
archs = ["AMD64", "ARM64"]