Skip to content

Commit 58df51e

Browse files
committed
🔧 attempt to work around a pyright-action bug with pyright 1.1.401
1 parent cc2e3b5 commit 58df51e

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

‎pyproject.toml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,11 @@ always_false = ["NP23", "NP30"]
136136

137137
[tool.pyright]
138138
include = ["scipy-stubs", "scripts", "tests"]
139-
ignore = [".venv"]
139+
ignore = [
140+
".venv",
141+
# https://github.com/jakebailey/pyright-action/issues/188
142+
"/opt/hostedtoolcache/pyright/",
143+
]
140144
stubPath = "."
141145
pythonPlatform = "All"
142146
typeCheckingMode = "strict"

0 commit comments

Comments
 (0)