-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
pyproject.toml
54 lines (47 loc) · 975 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
44
45
46
47
48
49
50
51
52
53
54
[tool.ruff]
exclude = ["examples", "docs", "build"]
line-length = 120
target-version = "py310"
[tool.ruff.lint]
select = [
"E",
"F",
"I",
"TCH",
"C",
"N",
"D2",
"D3",
"D415",
"D417",
"D418",
"D419",
"ASYNC",
"Q",
"RSE",
"SIM",
"RUF",
]
ignore = ["F405", "F403", "E501", "D205"]
fixable = ["I", "TCH", "D"]
[tool.ruff.lint.isort]
split-on-trailing-comma = false
[tool.ruff.lint.pydocstyle]
convention = "numpy"
[tool.ruff.format]
skip-magic-trailing-comma = true
[tool.slotscheck]
strict-imports = true
require-superclass = false
require-subclass = true
exclude-classes = ":.*(Exception|Error|Proto|AutocompleteData)"
[tool.mypy]
ignore_errors = true
[tool.pyright]
pythonVersion = "3.10"
typeCheckingMode = "strict"
reportPrivateUsage = false
reportMissingTypeStubs = true
reportUnnecessaryTypeIgnoreComment = "warning"
reportUninitializedInstanceVariable = "error"
reportShadowedImports = "warning"