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
however, as it's modifying a global, it's not unnecessary assignment. (naturally, whether this is a good pattern is a separate discussion 😂 ... but it's not syntactically unnecessary).
(Haven't checked the behavior of flake8-return)
The text was updated successfully, but these errors were encountered:
The following code results in
RET504 Unnecessary variable assignment before
returnstatement
however, as it's modifying a global, it's not unnecessary assignment. (naturally, whether this is a good pattern is a separate discussion 😂 ... but it's not syntactically unnecessary).
(Haven't checked the behavior of flake8-return)
The text was updated successfully, but these errors were encountered: