Skip to content

Commit 51cac14

Browse files
committed
fix(pyright): remove pyright section in pyproject toml and use python 310 for pyright python target version
1 parent cf3a7b5 commit 51cac14

File tree

2 files changed

+1
-20
lines changed

2 files changed

+1
-20
lines changed

pyproject.toml

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -158,25 +158,6 @@ style = "sphinx"
158158
verbose = 0
159159
whitelist-regex = []
160160

161-
[tool.pyright]
162-
exclude = [
163-
"**/__pycache__",
164-
"**/node_modules"
165-
]
166-
executionEnvironments = [
167-
{root = "chanx"}
168-
]
169-
ignore = [
170-
'sandbox/config/settings/test.py'
171-
]
172-
include = ["chanx", "sandbox"]
173-
pythonVersion = "3.11"
174-
reportIncompatibleVariableOverride = false
175-
reportMissingImports = "error"
176-
reportMissingTypeStubs = false
177-
reportPrivateUsage = false
178-
typeCheckingMode = "strict"
179-
180161
[tool.tomlsort]
181162
all = true
182163
in_place = true

pyrightconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@
1010
"reportMissingTypeArgument": "warning",
1111
"reportMissingTypeStubs": "warning",
1212
"reportPrivateUsage": "none",
13-
"pythonVersion": "3.11",
13+
"pythonVersion": "3.10",
1414
"reportIncompatibleVariableOverride": "none"
1515
}

0 commit comments

Comments
 (0)