We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi, it appears that TypeChecker.fail doesn't match the CheckerPluginInterface interface
CheckerPluginInterface
mypy/mypy/plugin.py
Line 242 in d39f023
@abstractmethod def fail( self, msg: str | ErrorMessage, ctx: Context, *, code: ErrorCode | None = None ) -> None:
mypy/mypy/checker.py
Line 7184 in d39f023
def fail( self, msg: str | ErrorMessage, context: Context, *, code: ErrorCode | None = None ) -> None:
For some reason the implementation names ctx as context.
ctx
context
The text was updated successfully, but these errors were encountered:
The implementation of TypeChecker.fail has wrong variable name
a596a63
See python/mypy#17442
82e4901
lovely, thanks @hauntsaninja and @bzoracler !
Sorry, something went wrong.
No branches or pull requests
Hi, it appears that TypeChecker.fail doesn't match the
CheckerPluginInterface
interfacemypy/mypy/plugin.py
Line 242 in d39f023
mypy/mypy/checker.py
Line 7184 in d39f023
For some reason the implementation names
ctx
ascontext
.The text was updated successfully, but these errors were encountered: