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

use strict typing for tslibs/nattype and tslibs/dtypes #1155

Merged
merged 3 commits into from
Mar 11, 2025

Conversation

MarcoGorelli
Copy link
Member

  • Closes #xxxx (Replace xxxx with the Github issue number)
  • Tests added: Please use assert_type() to assert the type of any return value

Copy link
Collaborator

@Dr-Irv Dr-Irv left a comment

Choose a reason for hiding this comment

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

this all looks fine to me if you want to convert to not be a draft

@MarcoGorelli MarcoGorelli marked this pull request as ready for review March 10, 2025 18:28
@MarcoGorelli MarcoGorelli marked this pull request as draft March 10, 2025 18:28
@MarcoGorelli MarcoGorelli marked this pull request as ready for review March 11, 2025 11:33
@MarcoGorelli
Copy link
Member Author

thanks for your review

I checked and everything in pandas-stubs/_libs/tslibs/dtypes.pyi is either undocumented or unused (https://github.com/pandas-dev/pandas/pull/46338/files removed quite a few things), so I've just removed the file

Copy link
Collaborator

@Dr-Irv Dr-Irv left a comment

Choose a reason for hiding this comment

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

thanks @MarcoGorelli

@Dr-Irv Dr-Irv merged commit a0313da into pandas-dev:main Mar 11, 2025
13 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