Skip to content

Commit 6f6cd8c

Browse files
committed
Explain why mypy overrides is ignored (same as pyright)
1 parent 3536cd3 commit 6f6cd8c

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,9 +155,11 @@ 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
159162
"valid-type", # 967 errors in 115 files
160-
"override", # 790 errors in 220 files
161163
"assignment", # 773 errors in 172 files
162164
"misc", # 692 errors in 132 files
163165
"attr-defined", # 202 errors in 75 files

0 commit comments

Comments
 (0)