Skip to content

Commit f39f067

Browse files
Merge pull request #2846 from VWS-Python/chore/pyrefly-non-exhaustive-match-20260215
Add pyrefly non-exhaustive match as error
2 parents 69fac31 + 495fad3 commit f39f067

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -302,6 +302,9 @@ plugins = [
302302
"mypy_strict_kwargs",
303303
]
304304

305+
[tool.pyrefly]
306+
errors.non-exhaustive-match = "error"
307+
305308
[tool.pyright]
306309
enableTypeIgnoreComments = false
307310
reportUnnecessaryTypeIgnoreComment = true

0 commit comments

Comments
 (0)