-
-
Notifications
You must be signed in to change notification settings - Fork 230
/
Copy pathpyproject.toml
40 lines (35 loc) · 897 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
30
31
32
33
34
35
36
37
38
39
40
[build-system]
requires = ["numpy", "setuptools", "wheel"]
build-backend = "setuptools.build_meta"
[tool.black]
line-length = 120
target-version = ['py38']
extend-exclude = '''
^/src/asammdf/gui/ui
'''
[tool.coverage.run]
source = ["asammdf"]
omit = ["*/asammdf/gui/ui/*"]
[tool.cibuildwheel]
manylinux-x86_64-image = "manylinux_2_28"
test-requires = "pytest"
test-command = "pytest {project}/test"
build-frontend = "build"
archs = ["auto64"] # only build for 64bit architectures
skip = "pp* *_ppc64le *-musllinux* *_s390x" # skip pypy and irrelevant architectures
[tool.ruff]
select = [
"F", # pyflakes
"UP", # pyupgrade
"I", # isort
]
ignore = [
"F401", # unused-import
"F841", # unused-variable
]
exclude = ["./src/asammdf/gui/ui"]
target-version = "py38"
[tool.ruff.isort]
known-first-party = ["asammdf"]
order-by-type = false
force-sort-within-sections = true