Skip to content

Commit

Permalink
remove type: ignore no-any-unimported for now
Browse files Browse the repository at this point in the history
  • Loading branch information
jakkdl committed Aug 14, 2023
1 parent 5d990b2 commit 7a2ec85
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion trio/_core/_multierror.py
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,8 @@ def copy_tb(base_tb: TracebackType, tb_next: TracebackType | None) -> TracebackT
# http://doc.pypy.org/en/latest/objspace-proxies.html
def copy_tb(base_tb: TracebackType, tb_next: TracebackType | None) -> TracebackType:
# Mypy refuses to believe that ProxyOperation can be imported properly
def controller(operation: tputil.ProxyOperation) -> Any | None: # type: ignore[no-any-unimported]
# TODO: will need no-any-unimported if/when that's toggled on
def controller(operation: tputil.ProxyOperation) -> Any | None:
# Rationale for pragma: I looked fairly carefully and tried a few
# things, and AFAICT it's not actually possible to get any
# 'opname' that isn't __getattr__ or __getattribute__. So there's
Expand Down

0 comments on commit 7a2ec85

Please sign in to comment.