Skip to content

Conversation

rhshadrach
Copy link
Member

@rhshadrach rhshadrach commented Aug 23, 2025

  • closes #xxxx (Replace xxxx with the GitHub issue number)
  • Tests added and passed if fixing a bug or adding a new feature
  • All code checks passed.
  • Added type annotations to new arguments/methods/functions.
  • Added an entry in the latest doc/source/whatsnew/vX.X.X.rst file if fixing a bug or adding a new feature.

Adds linting to enforce PDEP-17, namely that contributors do not raise PendingDeprecationWarning, DeprecationWarning, nor FutureWarning but rather the pandas subclasses of these.

Also adds an escape hatch for this: add # pdlint: ignore[warning_class] to any line which you want to override the linting. Useful right now for some tests as well as deprecations that are still to be enforced in 3.0. For a few a of the warnings, they were meant to be Pandas4Warnings as they were only introduced in PRs tagged 3.0.

@rhshadrach rhshadrach added CI Continuous Integration Warnings Warnings that appear or should be added to pandas labels Sep 1, 2025
@rhshadrach rhshadrach added this to the 3.0 milestone Sep 1, 2025
@rhshadrach rhshadrach marked this pull request as ready for review September 1, 2025 12:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI Continuous Integration Warnings Warnings that appear or should be added to pandas
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant