Skip to content

STY: Add flake8-slots and flake8-raise rules #58161

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

Merged
merged 3 commits into from
Apr 8, 2024

Conversation

mroeschke
Copy link
Member

Also moves ICN001 to the main ruff linter

@mroeschke mroeschke added the Code Style Code style, linting, code_checks label Apr 5, 2024
@mroeschke mroeschke added this to the 3.0 milestone Apr 5, 2024
@@ -114,7 +114,7 @@ def __dlpack__(self) -> Any:
"""
Represent this structure as DLPack interface.
"""
raise NotImplementedError()
Copy link
Member

Choose a reason for hiding this comment

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

nice to see this become consistent

@mroeschke
Copy link
Member Author

Since things are passing here going to merge

@mroeschke mroeschke merged commit 5c68fce into pandas-dev:main Apr 8, 2024
49 of 50 checks passed
@mroeschke mroeschke deleted the sty/ruff/clean branch April 8, 2024 16:45
pmhatre1 pushed a commit to pmhatre1/pandas-pmhatre1 that referenced this pull request May 7, 2024
* Use noqa instead of a pre-commit section

* Add refurb rule

* Add flake8-slots/raise
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Code Style Code style, linting, code_checks
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants