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

STY: upgrade flake8-bugbear and fix newly detected errors #4242

Merged
merged 8 commits into from
Dec 16, 2022

Conversation

neutrinoceros
Copy link
Member

@neutrinoceros neutrinoceros commented Dec 8, 2022

PR Summary

Opening as a draft because it's not obvious that adding @abstractmethod decorators here and there will not crash tests

TODO:

  • survive CI (use noqa comments when making empty methods abstract breaks things)
  • extend checks to B902 + fix
  • extend checks to B904 + fix

@neutrinoceros neutrinoceros force-pushed the flake8-bugbear-opinionated branch from dbc64fa to e55cc7e Compare December 8, 2022 12:30
@neutrinoceros neutrinoceros added the enhancement Making something better label Dec 8, 2022
@neutrinoceros neutrinoceros force-pushed the flake8-bugbear-opinionated branch 3 times, most recently from c730a30 to b42cfa7 Compare December 8, 2022 13:27
@neutrinoceros neutrinoceros added this to the 4.2.0 milestone Dec 8, 2022
@neutrinoceros neutrinoceros force-pushed the flake8-bugbear-opinionated branch from c2b7180 to 86162e5 Compare December 8, 2022 16:45
@neutrinoceros neutrinoceros marked this pull request as ready for review December 8, 2022 18:19
@neutrinoceros neutrinoceros marked this pull request as draft December 9, 2022 07:49
@neutrinoceros neutrinoceros marked this pull request as ready for review December 9, 2022 11:17
Copy link
Member

@matthewturk matthewturk left a comment

Choose a reason for hiding this comment

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

seems good and is no-op, right?

@matthewturk matthewturk merged commit f135c79 into yt-project:main Dec 16, 2022
@neutrinoceros neutrinoceros deleted the flake8-bugbear-opinionated branch December 16, 2022 16:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Making something better
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants