-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathpyproject.toml
More file actions
38 lines (31 loc) · 991 Bytes
/
pyproject.toml
File metadata and controls
38 lines (31 loc) · 991 Bytes
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
[tool.black]
line-length = 120
exclude = "venv*"
target-version = ['py311']
[tool.ruff]
line-length = 300
# Ignore `E501` line length in the `scripts` folder
[tool.ruff.lint.extend-per-file-ignores]
"scripts/*" = ["E501"]
[tool.pyright]
exclude = ["utils.py", "venv", "scripts/cot_sankey.py", "scripts/load_alpaca_dataset.py"]
strictListInference = true
strictDictionaryInference = true
strictSetInference = true
reportFunctionMemberAccess = true
reportUnknownParameterType = true
reportIncompatibleMethodOverride = true
reportIncompatibleVariableOverride = true
reportInconsistentConstructorType = true
reportOverlappingOverload = true
reportConstantRedefinition = true
reportImportCycles = true
reportPropertyTypeMismatch = true
reportMissingTypeArgument = true
reportUnnecessaryCast = true
reportUnnecessaryComparison = true
reportUnnecessaryContains = true
reportUnusedExpression = true
reportMatchNotExhaustive = true
reportShadowedImports = true
reportPrivateImportUsage = false