Skip to content

Commit e049074

Browse files
authored
Explain why mypy overrides is ignored (same as pyright) (#379)
1 parent 24a9d25 commit e049074

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

pyproject.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,8 +155,10 @@ disable_error_code = [
155155
# `assert-type` issues is tests mostly comme from checking overloads
156156
# Since this project is specific to Pylance, just ignore them
157157
"assert-type",
158+
# Incompatible overrides are out of our stubs' control
159+
# as they are inherited from the implementation.
160+
"override",
158161
# TODO
159-
"override", # 790 errors in 220 files
160162
"assignment", # 773 errors in 172 files
161163
"misc", # 692 errors in 132 files
162164
]

0 commit comments

Comments
 (0)