forked from cda-tum/mqt-syrec
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
84 lines (73 loc) · 1.9 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
[build-system]
requires = [
"setuptools>=45",
"setuptools_scm>=7",
"ninja>=1.10; sys_platform != 'win32'",
"cmake>=3.14",
]
build-backend = "setuptools.build_meta"
[tool.setuptools_scm]
[tool.cibuildwheel]
build = "cp3*"
archs = "auto64"
skip = "*-musllinux_*"
test-skip = "*-macosx_arm64 *-musllinux* *aarch64"
test-extras = ["test"]
test-command = "cd {project}/test/python && python -m pytest ."
environment = { DEPLOY = "ON" }
build-frontend = "build"
build-verbosity = 3
[tool.cibuildwheel.linux]
manylinux-x86_64-image = "manylinux_2_28"
before-all = [
"curl -L -O https://boostorg.jfrog.io/artifactory/main/release/1.76.0/source/boost_1_76_0.tar.gz",
"tar -xzf boost_1_*",
"cd boost_1_*/",
"./bootstrap.sh",
"./b2 install --with-system"
]
[tool.cibuildwheel.macos]
environment = { MACOSX_DEPLOYMENT_TARGET = "10.15", DEPLOY = "ON" }
[tool.cibuildwheel.windows]
test-command = "python -c \"from mqt import syrec\""
[tool.pytest.ini_options]
minversion = "7.0"
testpaths = ["test/python"]
addopts = ["-ra", "--strict-markers", "--strict-config", "--showlocals"]
log_cli_level = "INFO"
xfail_strict = true
filterwarnings = ["error"]
[tool.coverage.run]
source = ["mqt.syrec"]
[tool.coverage.report]
show_missing = true
skip_empty = true
precision = 1
[tool.black]
line-length = 120
[tool.isort]
profile = "black"
src_paths = ["mqt/syrec", "test/python"]
[tool.pylint]
master.py-version = "3.7"
master.jobs = "0"
reports.output-format = "colorized"
similarities.ignore-imports = "yes"
messages_control.enable = [
"useless-suppression",
]
messages_control.disable = [
"invalid-name",
"line-too-long",
"missing-module-docstring",
"no-member",
"protected-access",
"too-few-public-methods",
"too-many-arguments",
"too-many-branches",
"too-many-locals",
"too-many-statements",
"ungrouped-imports",
"wrong-import-order",
"wrong-import-position",
]