-
Notifications
You must be signed in to change notification settings - Fork 33
/
Copy pathpyproject.toml
38 lines (32 loc) · 1.17 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
[build-system]
requires = [
"setuptools>=42",
"wheel>=0.33.0",
"cython>=3.0.0",
"numpy>=2,<3",
]
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-* cp38-* cp313-*" # Build CPython 3.9 - 3.12
before-test = "pip install -r requirements_test.txt"
test-command = "pytest {project}/tests"
[tool.cibuildwheel.macos]
archs = ["native"]
[tool.codespell]
ignore-words-list = ['THIRDPARTY']
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*,./doc/source/examples/*,*cover,*.dat,*.mac,build,./docker/mapdl/v*,./factory/*,PKG-INFO,*.mypy_cache/*'
quiet-level = 3
[tool.isort]
profile = "black"
force_sort_within_sections = true
default_section = "THIRDPARTY"
skip_glob = ["__init__.py"]
src_paths = ["doc", "src", "tests"]