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

More typing 4 #18686

Merged
merged 6 commits into from
May 29, 2024
Merged

More typing 4 #18686

merged 6 commits into from
May 29, 2024

Conversation

travisdowns
Copy link
Member

@travisdowns travisdowns commented May 29, 2024

Additional typing in rptest.

Most changes are pure typing, but there a few asserts etc added here and there to satisfy the type checking. No intentional functional changes.

Backports Required

  • none - not a bug fix
  • none - this is a backport
  • none - issue does not exist in previous branches
  • none - papercut/not impactful enough to backport
  • v24.1.x
  • v23.3.x
  • v23.2.x

Release Notes

  • none

With the rcast function which does a runtime cast.
Fix the 11 type checking errors in rptest/archival, so the entire
directory is clean at standard level.
Fix the 3 type checking errors in rptest/compatibility, so the entire
directory is clean at standard level.
Fix the 2 type checking errors in services/provider_clients, so the
entire directory is clean at standard level.
Miscellaneous typing fixes with the goal of getting specific files
which have only a few errors to zero.
Typing enhancements for OMB service and associated classes.

def validate(self, ctx) -> bool:
pass
Copy link
Member

Choose a reason for hiding this comment

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

Is pass not cool enough anymore?

Copy link
Member Author

Choose a reason for hiding this comment

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

Somehow I thought ... was idiomatic for @abstractmethod but a second search seems to show the community is split 🤷 .

I'll take your approval as an indication you are OK with it :).

@travisdowns travisdowns merged commit 52a68fc into redpanda-data:dev May 29, 2024
19 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.

2 participants