Skip to content

Commit cddf8f1

Browse files
committed
Turn off PYRIGHT_PYTHON_FORCE_VERSION=latest
This caused the new version to be run, when that's not what we want.
1 parent a38dd4a commit cddf8f1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/test_sourcecode.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -141,9 +141,9 @@ def test_cqa_pyright(self):
141141
stderr=subprocess.PIPE,
142142
cwd=project_root,
143143
env=os.environ | {
144-
# Prevent pyright from checking and
145-
# warning about upgrades.
146-
"PYRIGHT_PYTHON_FORCE_VERSION": "latest",
144+
# Suppress pyright-python's complaints about new
145+
# pyright versions being available.
146+
"PYRIGHT_PYTHON_IGNORE_WARNINGS": "1",
147147
}
148148
)
149149
except subprocess.CalledProcessError as ex:

0 commit comments

Comments
 (0)