Skip to content

Commit 03ad402

Browse files
committed
Report an error on unnecessary pyright ignores
1 parent cb7c4fc commit 03ad402

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -274,4 +274,5 @@ keep_full_version = true
274274

275275
[tool.pyright]
276276

277+
reportUnnecessaryTypeIgnoreComment = true
277278
typeCheckingMode = "strict"

0 commit comments

Comments
 (0)