You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For pylint there is a proposition to implement #1682, maybe there is a similar ticket for mypy type ignore ? If we start ignoring some constructs because there "justified" to go above the limit this is a slippery slope, so we're not going to do it. The line is really too long. You can make the limit higher or disable the check for the whole project, for the file, the function or... the line 😄.
Question
I am adding
# type: ignore[error-code]
pragmas to my codebase where I need to suppress MyPy type annotation errors.For example:
Here the linter throws errors like this:
C:691, 0: Line too long (112/80)
I don't want these errors for type annotations. How to solve this?
The text was updated successfully, but these errors were encountered: