Skip to content

Commit 6a83937

Browse files
authored
Update pyright to 1.1.393 and type-checking python version to 3.11 (#4655)
Bumps the version of Python used for type-checking to 3.11. That is to say, pyright now supports type-checking idioms that were introduced after 3.7 like `FooType | None`. Regenerated `Pipfile.lock` after updating `Pipfile` using `pipenv lock --dev --keep-outdated`.
1 parent b321a5e commit 6a83937

File tree

3 files changed

+30
-12
lines changed

3 files changed

+30
-12
lines changed

Pipfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ pipenv = "==2022.8.5"
2323
pyfakefs = "==4.4.0"
2424
pylint = "~=2.4"
2525
pylint-protobuf = "==0.21.0"
26-
pyright = "==1.1.378"
26+
pyright = "==1.1.393"
2727
selenium = "==3.141.0"
2828
twine = "*"
2929
WebTest = "==3.0.0"

Pipfile.lock

Lines changed: 28 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyrightconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@
99
"executionEnvironments": [{
1010
"root": "src",
1111
"extraPaths": [ "src/third_party" ],
12-
"pythonVersion": "3.7"
12+
"pythonVersion": "3.11"
1313
}]
1414
}

0 commit comments

Comments
 (0)