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
Description
Add a new option like allowed-unannotated-argument-names which is a comma separated list of argument names that are fine to not have annotated.
Rationale/Use Case
Examples: often I need to ingest variables in my functions that I never use (callbacks from another library for example). In these cases, I often will just use _ as my variable.
While a generalized case is not something we’re interested in pursuing, as string parsing introduces its own set of complexity, there could be a case here for a special-case flag for suppressing colloquial “dummy” argument names.
Description
Add a new option like
allowed-unannotated-argument-names
which is a comma separated list of argument names that are fine to not have annotated.Rationale/Use Case
Examples: often I need to ingest variables in my functions that I never use (callbacks from another library for example). In these cases, I often will just use
_
as my variable.Here is an example of a GTK callback:
it would be nice if I could avoid having to have the
Any
annotation here.The text was updated successfully, but these errors were encountered: