Skip to content

Commit 63edd4a

Browse files
Merge pull request #3202 from VWS-Python/unused-ignore-error
Make pyrefly error on unused ignore comments
2 parents 1184888 + 1d0d7c4 commit 63edd4a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -405,6 +405,7 @@ plugins = [
405405

406406
[tool.pyrefly]
407407
errors.non-exhaustive-match = "error"
408+
errors.unused-ignore = "error"
408409

409410
[tool.pyright]
410411
typeCheckingMode = "strict"

0 commit comments

Comments
 (0)