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

RFC: enable flake8-type-checking ruleset #4974

Conversation

neutrinoceros
Copy link
Member

PR Summary

Changeset obtained with

ruff check yt --fix --unsafe-fixes --select TCH

This helps with making sure (potentially expensive) type-check-only import statements do not impact startup time (see for instance matplotlib imports moved in #4265)

@neutrinoceros neutrinoceros added code style Related to linting tools refactor improve readability, maintainability, modularity labels Sep 2, 2024
@neutrinoceros neutrinoceros force-pushed the rfc/enable_flake8-type-checking_ruleset branch from 799e75c to 19709d2 Compare September 2, 2024 12:51
@neutrinoceros neutrinoceros marked this pull request as ready for review September 2, 2024 13:33
@neutrinoceros neutrinoceros force-pushed the rfc/enable_flake8-type-checking_ruleset branch from 19709d2 to 7c03a6d Compare September 6, 2024 07:15
@neutrinoceros neutrinoceros added this to the 4.4.0 milestone Sep 14, 2024
@neutrinoceros neutrinoceros merged commit 69c27de into yt-project:main Sep 14, 2024
13 checks passed
@neutrinoceros neutrinoceros deleted the rfc/enable_flake8-type-checking_ruleset branch September 14, 2024 07:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
code style Related to linting tools refactor improve readability, maintainability, modularity
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants