/
pyproject.toml
37 lines (31 loc) · 1.1 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
[build-system]
requires = [
"setuptools>=42",
"wheel>=0.33.0",
"cython>=3.0.0",
"oldest-supported-numpy"
]
build-backend = "setuptools.build_meta"
[tool.pytest.ini_options]
junit_family= "legacy"
filterwarnings = [
# bogus numpy ABI warning (see numpy/#432)
"ignore:.*numpy.dtype size changed.*:RuntimeWarning",
"ignore:.*numpy.ufunc size changed.*:RuntimeWarning"
]
[tool.cibuildwheel]
archs = ["auto64"] # 64-bit only
skip = "pp* *musllinux* cp37-*" # disable PyPy and musl-based wheels and Python<3.8
test-requires = "pytest"
test-command = "pytest {project}/tests"
[tool.cibuildwheel.macos]
# https://cibuildwheel.readthedocs.io/en/stable/faq/#apple-silicon
archs = ["x86_64", "universal2"]
test-skip = ["*_arm64", "*_universal2:arm64"]
[tool.codespell]
skip = '*.cxx,*.h,*.gif,*.png,*.jpg,*.js,*.html,*.doctree,*.ttf,*.woff,*.woff2,*.eot,*.mp4,*.inv,*.pickle,*.ipynb,flycheck*,./.git/*,./.hypothesis/*,*.yml,./doc/build/*,./doc/images/*,./dist/*,*~,.hypothesis*,*.cpp,*.c'
quiet-level = 3
[tool.ruff]
line-length = 100
# pyflakes, pycodestyle, isort
select = ["F", "E", "W", "I001"]