-
Notifications
You must be signed in to change notification settings - Fork 24
/
Copy pathpyproject.toml
63 lines (49 loc) · 1.14 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
[build-system]
requires = [
"setuptools>=42",
"pybind11>=2.9.2",
"cmake>=3.22",
"scikit-build>=0.15.0",
]
build-backend = "setuptools.build_meta"
[tool.cibuildwheel.windows]
archs = ["AMD64"]
[tool.cibuildwheel.linux]
repair-wheel-command = "auditwheel repair -w {dest_dir} {wheel} --plat manylinux2014_x86_64"
archs = ["x86_64"]
[tool.cibuildwheel.macos]
environment = { MACOSX_DEPLOYMENT_TARGET = "13.6" }
archs = ["x86_64", "arm64"]
repair-wheel-command = [
"delocate-listdeps {wheel}",
"delocate-wheel --require-archs {delocate_archs} -w {dest_dir} {wheel}",
]
[tool.black]
line-length = 120
skip-string-normalization = true
[tool.pylint.format]
max-line-length = 120
[tool.pylint]
# TODO:disable doc related checks, should be remove in the future: "C0114", "R0801", "C0116", "C0115", "C0103", "C0112", "C8008"
disable = [
"R0401",
"W0231",
"R0912",
"R0915",
"W0212",
"W0104",
"W0106",
"W0511",
"R0914",
"C0114",
"R0801",
"C0116",
"C0115",
"C0103",
"C0112",
"C8008",
]
ignore = ["conftest.py", "doc/run.py", "doc/source/conf.py", "setup.py"]
ignore-paths = ['examples', 'doc']
[tool.isort]
profile = "black"