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
Sourcery suggested:
suggestion: Using re.match for a simple lowercase check may be
overkill.
Consider replacing the regex with: if not (stage_name.islower() and
stage_name.isalpha()): ... for better readability and efficiency.
This also removes the dependency on the `re` module.
0 commit comments