-
Notifications
You must be signed in to change notification settings - Fork 14.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refactor: path.rglob("…") does not need "**" #33669
Conversation
lines = [line.upper() for line in src.readlines()] | ||
print(lines) | ||
dest.writelines(lines) | ||
with f.open() as src: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this block should be indented, so it happens for every f
and not only for the last one. Please review.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes. Google System tests are not yet run regularly. Google team works on automatically running them and providing a dashboard so they would get to this one too.. but we can correct it now.
conflicts/tests/ to solve |
568713e
to
b69f7e7
Compare
Conflicts now :( |
(cherry picked from commit 8aa2229)
Replace
path.glob("**/…")
withpath.rglob("…")
. If the**
placeholder is deeper, then extendpath
.