forked from danielhrisca/asammdf
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
53 lines (48 loc) · 1.36 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
[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 = [
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"F", # pyflakes
"UP", # pyupgrade
"I", # isort
"PIE", # flake8-pie
"PL", # pylint
"RUF", # Ruff-specific rules
]
ignore = [
"B007", # unused-loop-control-variable
"F841", # unused-variable
"PLC0414", # useless-import-alias
"PLR09", # too-many-this, too-many-that
"PLR2004", # magic-value-comparison
"PLR5501", # collapsible-else-if
"PLW0603", # global-statement
"PLW2901", # redefined-loop-name
"RUF012", # mutable-class-default
"RUF015", # unnecessary-iterable-allocation-for-first-element
]
exclude = ["./src/asammdf/gui/ui"]
target-version = "py38"
[tool.ruff.isort]
known-first-party = ["asammdf"]
order-by-type = false
force-sort-within-sections = true