mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-10 21:42:25 +08:00
pyright: Don't report incompatible overrides (#7498)
These overrides are inherited from the implementation and are out of typeshed's control.
This commit is contained in:
@@ -31,8 +31,6 @@
|
||||
"reportUntypedNamedTuple": "error",
|
||||
"reportPrivateUsage": "none",
|
||||
"reportConstantRedefinition": "error",
|
||||
"reportIncompatibleMethodOverride": "error",
|
||||
"reportIncompatibleVariableOverride": "error",
|
||||
"reportInvalidStringEscapeSequence": "error",
|
||||
"reportUnknownArgumentType": "error",
|
||||
"reportUnknownLambdaType": "error",
|
||||
@@ -44,6 +42,10 @@
|
||||
"reportPropertyTypeMismatch": "error",
|
||||
"reportSelfClsParameterName": "error",
|
||||
"reportUnsupportedDunderAll": "error",
|
||||
// Incompatible overrides are out of typeshed's control as they are
|
||||
// inherited from the implementation.
|
||||
"reportIncompatibleMethodOverride": "none",
|
||||
"reportIncompatibleVariableOverride": "none",
|
||||
// Overlapping overloads cannot be enabled at this time because
|
||||
// of the "fractions.Fraction.__pow__" method and "tasks.gather" function.
|
||||
// Mypy's overlapping overload logic misses these issues (see mypy
|
||||
|
||||
Reference in New Issue
Block a user