Skip to content

Slightly update gui.py (Sourcery refactored)#14

Open
sourcery-ai[bot] wants to merge 1 commit intorobkam-update-guifrom
sourcery/robkam-update-gui
Open

Slightly update gui.py (Sourcery refactored)#14
sourcery-ai[bot] wants to merge 1 commit intorobkam-update-guifrom
sourcery/robkam-update-gui

Conversation

@sourcery-ai
Copy link
Copy Markdown

@sourcery-ai sourcery-ai Bot commented Oct 22, 2023

Pull Request #13 refactored by Sourcery.

If you're happy with these changes, merge this Pull Request using the Squash and merge strategy.

NOTE: As code is pushed to the original Pull Request, Sourcery will
re-run and update (force-push) this Pull Request with new refactorings as
necessary. If Sourcery finds no refactorings at any point, this Pull Request
will be closed automatically.

See our documentation here.

Run Sourcery locally

Reduce the feedback loop during development by using the Sourcery editor plugin:

Review changes via command line

To manually merge these changes, make sure you're on the robkam-update-gui branch, then run:

git fetch origin sourcery/robkam-update-gui
git merge --ff-only FETCH_HEAD
git reset HEAD^

Help us improve this pull request!

@sourcery-ai sourcery-ai Bot requested a review from robkam October 22, 2023 17:54
Comment thread wikiteam/uploader.py
Comment on lines -73 to -79
n = f.readinto(buffer)
if n := f.readinto(buffer):
digest.update(view[:n])

if not n:
else:
break

digest.update(view[:n])

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Function file_md5 refactored with the following changes:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants