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

Modernize code #3072

Closed
wants to merge 3 commits into from
Closed

Modernize code #3072

wants to merge 3 commits into from

Conversation

eumiro
Copy link

@eumiro eumiro commented Aug 1, 2023

Type of changes

  • Bug fix
  • New feature
  • Documentation / docstrings
  • Tests
  • Other: Refactoring

Checklist

  • I've run the latest black with default args on new code.
  • I've updated CHANGELOG.md and CONTRIBUTORS.md where appropriate.
  • I've added tests for new code.
  • I accept that @willmcgugan may be pedantic in the code review.

Description

It's just a refactoring: use f-strings and integers, and simplify some parts of the code. No functionality modified.

Also black wanted to make plenty of changes to existing code, so I did not apply it now. Anyway, please be pedantic! :-)

@willmcgugan
Copy link
Collaborator

Most of these changes are fairly arbitrary. Some may be worthwhile, but some its not clear what the benefit of the change is. Without knowing the issue they are fixing, its just not worth merging new code.

I'd suggest separating the cosmetic changes, from larger changes, and submitting them separately.

@willmcgugan willmcgugan closed this Jul 1, 2024
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.

3 participants