FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Revert "Save work on emitting ignored diagnostics pt 2" by hauntsaninja · Pull Request #20716 · python/mypy · GitHub

Repository navigation

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension .py  (2) All 1 file type selected
Viewed files
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Unified
Split
Hide whitespace
Diff view
Unified
Split
Hide whitespace
2 changes: 1 addition & 1 deletion mypy/checker.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -4754,7 +4754,7 @@ def check_simple_assignment(
self.msg.deleted_as_rvalue(rvalue_type, context)
if isinstance(lvalue_type, DeletedType):
self.msg.deleted_as_lvalue(lvalue_type, context)
elif lvalue_type and not self.can_skip_diagnostics:
elif lvalue_type:
self.check_subtype(
# Preserve original aliases for error messages when possible.
rvalue_type,
Expand Down
2 changes: 0 additions & 2 deletions mypy/checkexpr.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -2526,8 +2526,6 @@ def check_argument_types(

The check_call docstring describes some of the arguments.
"""
if self.chk.can_skip_diagnostics:
return
self.check_var_args_kwargs(arg_types, arg_kinds, context)

check_arg = check_arg or self.check_arg
Expand Down

Back | FazBrowse Home | New Git URL