-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
61 lines (52 loc) · 1.08 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
[project]
requires-python = ">=3.10"
[tool.ruff]
builtins = ["_"]
line-length = 99
lint.select = [
"D", # pydocstyle
"F", # pyflakes
"E", # pycodestyle Error
"W", # pycodestyle Warning
"I", # isort
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"ANN", # flake8-annotations
"SIM", # flake8-simplify
"ERA", # eradicate
"C90", # mccabe
]
lint.ignore = [
"ANN003", # missing type annotations for `*kwargs`
"ANN102",
"ANN201",
"ANN204",
"ANN401", # dynamically typed expressions (typing.Any)
"D100",
"D101",
"D102",
"D103",
"D104",
"D105",
"D107",
]
lint.exclude = ["*.ipynb"]
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.ruff.lint.mccabe]
max-complexity = 12
[tool.ruff.format]
exclude = ["*.ipynb"]
[tool.pyright]
pythonVersion = "3.10"
include = [
"src",
"docs/notebooks"
]
executionEnvironments = [
{ root = "src" },
{ root = "docs/notebooks", extraPaths = ["src"] }
]
typeCheckingMode = "basic"
[build-system]
requires = ["setuptools", "Cython"]