-
Notifications
You must be signed in to change notification settings - Fork 11
/
pyproject.toml
43 lines (40 loc) · 1006 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
41
42
43
[build-system]
# cython/numpy/scipy are required to build cython extensions. The build steps are specified in `setup.py`
requires = ["setuptools >= 40.6.0", "wheel", "Cython<3.0.0", "numpy", "scipy"]
build-backend = "setuptools.build_meta"
[tool.mypy]
allow_redefinition = true
[tool.ruff]
exclude = [
".git",
".tox",
"__pycache__",
"build",
"converted_notebooks",
"dist",
"data",
"docs",
"notebooks",
"notebooks/dev",
"scripts",
"venv",
"pyproject.toml",
]
ignore = [
# "D416", # is too complex (17)
# "C901", # is too complex (17)
# "E722", # do not use bare 'except'
"E731", # do not assign a lambda expression, use a def
# "F401", # imported but unused
# "W605", # invalid escape sequence [e.g. '\s'] :: can be caused by inline sphinx latex math
]
line-length = 140
select = [
"C9",
# "D", # pydocstyle
"E", # pycodestyle
"F", # pyflakes
"W",
]
[tool.ruff.mccabe]
max-complexity = 15