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-#0000: Fix type hint #7343

Merged
merged 1 commit into from
Jul 15, 2024
Merged

Conversation

ZhipengXue97
Copy link
Contributor

What do these changes do?

Fix a type check warning reported by Pyre@Google, which was outdated after code modification.

Detail

update the parameter axis of function _stat_operation from int | str to Optional[Union[int, str]], since it could be None after commit d192e87

@YarShev YarShev changed the title Fix-#0000: Fix type hint FIX-#0000: Fix type hint Jul 15, 2024
@YarShev
Copy link
Collaborator

YarShev commented Jul 15, 2024

Hi @ZhipengXue97, thanks for your contribution! Could you please apply black and isort to the code, as well as update the commit message to be in line with our rules for commits?

@ZhipengXue97
Copy link
Contributor Author

Done. format the code and change the commit message

Copy link
Collaborator

@devin-petersohn devin-petersohn left a comment

Choose a reason for hiding this comment

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

Thanks @ZhipengXue97 , LGTM!

@devin-petersohn devin-petersohn merged commit 4815bc3 into modin-project:main Jul 15, 2024
38 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.

3 participants