Skip to content

Conversation

@simonjayhawkins
Copy link
Member

xref #37715

@simonjayhawkins simonjayhawkins added the Typing type annotations, mypy/pyright type checking label Jan 9, 2021
@simonjayhawkins simonjayhawkins added this to the 1.3 milestone Jan 9, 2021
# (expression has type "List[<nothing>]", variable has type
# "Tuple[Any, ...]")
args = [] # type: ignore[assignment]
args = ()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this should be able to just be removed entirely

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hmm, we call dec with f and it uses the args from the outer scope. I assume that zeroing args out is intentional?

@jreback
Copy link
Contributor

jreback commented Jan 22, 2021

@simonjayhawkins status?

@simonjayhawkins
Copy link
Member Author

closing while we discuss #39513

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Typing type annotations, mypy/pyright type checking

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants