forked from PythonistaGuild/MystBin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
33 lines (29 loc) · 847 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
[tool.black]
line-length = 125
target-version = ["py310"]
[tool.isort]
profile = "black"
lines_after_imports = 2
line_length = 125
combine_as_imports = true
combine_star = true
known_first_party = ["utils", "mystbin_models", "routers"]
[tool.pyright]
include = ["mystbin/backend/**/*.py"]
exclude = ["**/__pycache__", "**/build", "**/dist"]
useLibraryCodeForTypes = true
typeCheckingMode = "basic"
pythonVersion = "3.10"
strictListInference = true
strictDictionaryInference = true
strictSetInference = true
strictParameterNoneValue = true
reportMissingImports = "error"
reportUnusedImport = "error"
reportUnusedClass = "error"
reportUnusedFunction = "error"
reportUnusedVariable = "error"
reportGeneralTypeIssues = "error"
reportDuplicateImport = "error"
reportUntypedFunctionDecorator = "error"
reportUnnecessaryTypeIgnoreComment = "warning"