Skip to content

Commit

Permalink
Update pyright to 1.1.393 and type-checking python version to 3.11 (#…
Browse files Browse the repository at this point in the history
…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`.
  • Loading branch information
letitz authored Feb 3, 2025
1 parent b321a5e commit 6a83937
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 12 deletions.
2 changes: 1 addition & 1 deletion Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ pipenv = "==2022.8.5"
pyfakefs = "==4.4.0"
pylint = "~=2.4"
pylint-protobuf = "==0.21.0"
pyright = "==1.1.378"
pyright = "==1.1.393"
selenium = "==3.141.0"
twine = "*"
WebTest = "==3.0.0"
Expand Down
38 changes: 28 additions & 10 deletions Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyrightconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@
"executionEnvironments": [{
"root": "src",
"extraPaths": [ "src/third_party" ],
"pythonVersion": "3.7"
"pythonVersion": "3.11"
}]
}

0 comments on commit 6a83937

Please sign in to comment.