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
{{ message }}
Repository navigation
Support @no_type_checks to ignore annotations for a function #557
Add a typing.no_type_checks function decorator that skips type checking a function and allows arbitrary annotations for the function. This should be give no errors:
Update: it should be @no_type_check and @no_type_check_decorator as was chosen for the PEP and in some other discussion (can't find the issue right now).
Activity
gvanrossum commentedon Apr 20, 2015
Update: it should be @no_type_check and @no_type_check_decorator as was chosen for the PEP and in some other discussion (can't find the issue right now).
JukkaL commentedon May 14, 2015
This was implemented by @spkersten (thanks!).