We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a38dd4a commit cddf8f1Copy full SHA for cddf8f1
tests/test_sourcecode.py
@@ -141,9 +141,9 @@ def test_cqa_pyright(self):
141
stderr=subprocess.PIPE,
142
cwd=project_root,
143
env=os.environ | {
144
- # Prevent pyright from checking and
145
- # warning about upgrades.
146
- "PYRIGHT_PYTHON_FORCE_VERSION": "latest",
+ # Suppress pyright-python's complaints about new
+ # pyright versions being available.
+ "PYRIGHT_PYTHON_IGNORE_WARNINGS": "1",
147
}
148
)
149
except subprocess.CalledProcessError as ex:
0 commit comments