Skip to content

Commit 0df3b80

Browse files
authored
Merge pull request #194 from jakkdl/ununpin_pyright
pin pyright, by no longer forcing latest version
2 parents 77ddd3e + cc79992 commit 0df3b80

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)