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
Function prototipes marked with the @overload decorator in the typing module are counted as if they were separate functions to compute WPS202 violations. A previously compliant module can now have this violation merely by adding typing information.
How it should be
@overload functions should not be taken into account, as they must be placed near the original function and do not hinder legibility too much.
The text was updated successfully, but these errors were encountered:
Bug report
What's wrong
Function prototipes marked with the
@overload
decorator in thetyping
module are counted as if they were separate functions to compute WPS202 violations. A previously compliant module can now have this violation merely by adding typing information.How it should be
@overload
functions should not be taken into account, as they must be placed near the original function and do not hinder legibility too much.The text was updated successfully, but these errors were encountered: