Skip to content
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

Fix many typos #1692

Merged
merged 1 commit into from
Sep 18, 2023
Merged

Fix many typos #1692

merged 1 commit into from
Sep 18, 2023

Conversation

goggle
Copy link
Contributor

@goggle goggle commented Mar 27, 2023

  • This fix issue:

PR Description:

Corrects various typos that I've found in the repository. Please double-check that I haven't forgotten to adapt any method calls for the corrected method name definitions.

Tests and Checks

  • I have tested the code!

@goggle goggle requested a review from Torxed as a code owner March 27, 2023 14:47
@Torxed
Copy link
Member

Torxed commented Jul 31, 2023

Please rebase this against master, as there are too many changes for me to tackle.
Apologies for this, had to prioritize testing and releasing of the new version. Renaming things could cause delays in testing.

@svartkanin
Copy link
Collaborator

@goggle any chance you could update the PR with latest master?

Signed-off-by: Alexander Seiler <[email protected]>
@goggle
Copy link
Contributor Author

goggle commented Sep 18, 2023

@Torxed @svartkanin Here is an updated version of this PR.

Copy link
Contributor

@erickisos erickisos left a comment

Choose a reason for hiding this comment

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

I was randomly reading some PRs and found yours, looks good tbh

@@ -119,7 +119,7 @@ def setup_selection_menu_options(self):
self._menu_options['parallel downloads'] = \
Selector(
_('Parallel Downloads'),
lambda preset: add_number_of_parrallel_downloads(preset),
lambda preset: add_number_of_parallel_downloads(preset),
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we pass the method reference instead of a lambda?

Suggested change
lambda preset: add_number_of_parallel_downloads(preset),
add_number_of_parallel_downloads,

Copy link
Member

Choose a reason for hiding this comment

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

Will the preset be preserved in the way we call the function at a later stage?

Copy link
Collaborator

Choose a reason for hiding this comment

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

we do it the same way with most other settings as well, I don't think it makes much difference

@svartkanin svartkanin merged commit 12b7017 into archlinux:master Sep 18, 2023
6 checks passed
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.

4 participants