Skip to content

Commit cc79992

Browse files
committed
pin pyright, by no longer forcing latest version
1 parent 5009792 commit cc79992

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.pre-commit-config.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,9 @@ repos:
3838
rev: v1.1.299
3939
hooks:
4040
- id: pyright
41-
entry: env PYRIGHT_PYTHON_FORCE_VERSION=latest pyright
41+
# ignore warnings about new version being available, no other warnings
42+
# are suppressed by this.
43+
entry: env PYRIGHT_PYTHON_IGNORE_WARNING=true pyright
4244
args: [--pythonversion=3.11, --warnings]
4345
additional_dependencies:
4446
# Required for pyright strict mode

0 commit comments

Comments
 (0)