-
-
Notifications
You must be signed in to change notification settings - Fork 62
/
Copy pathpyproject.toml
29 lines (26 loc) · 939 Bytes
/
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
[build-system]
requires = [
"setuptools>=50", # 50 is to match mypyc's minimum
"setuptools_scm[toml]>=8.0.4,<9",
'mypy[mypyc]==1.14.1', # update mypy-requirements as well
"black>=19.10b0,<24.11",
"types-requests",
"types-dataclasses",
"ruamel.yaml>=0.17.6, < 0.19",
"types-setuptools",
"CacheControl[filecache] >= 0.14.0, < 0.15"
]
build-backend = "setuptools.build_meta"
[tool.setuptools_scm]
write_to = "schema_salad/_version.py"
[tool.cibuildwheel]
test-command = "python -m pytest -n 2 --junitxml={project}/test-results/junit_$(python -V | awk '{print $2}')_${AUDITWHEEL_PLAT}.xml --pyargs schema_salad"
test-requires = "-r test-requirements.txt"
test-extras = "pycodegen"
skip = "pp*"
# ^ skip building wheels on PyPy (any version)
build-verbosity = "1"
environment = { SCHEMA_SALAD_USE_MYPYC="1", MYPYPATH="$(pwd)/mypy-stubs" }
[tool.black]
line-length = 100
target-version = [ "py39" ]