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

Turn DiskFormat into an ordinary class #2665

Merged
merged 1 commit into from
Oct 18, 2024
Merged

Turn DiskFormat into an ordinary class #2665

merged 1 commit into from
Oct 18, 2024

Conversation

dcermak
Copy link
Collaborator

@dcermak dcermak commented Oct 16, 2024

  • it does not need to be an abstract base class
  • use f-strings where applicable instead of format()
  • change return type of _custom_args_for_format from list to tuple

- it does not need to be an abstract base class
- use f-strings where applicable instead of format()
- change return type of _custom_args_for_format from list to tuple
Copy link
Collaborator

@schaefi schaefi left a comment

Choose a reason for hiding this comment

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

ok we never registered subclasses from the abstract base, thus this concept can let go

@schaefi schaefi merged commit eca8201 into main Oct 18, 2024
12 checks passed
@schaefi schaefi deleted the simplify-DiskFormat branch October 18, 2024 13:41
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.

2 participants