Skip to content

chore: future safe bugbear opinionated warnings #4393

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 1 commit into from
Dec 10, 2022

Conversation

henryiii
Copy link
Collaborator

@henryiii henryiii commented Dec 10, 2022

Future safe version of #4391. I've been applying this fix elsewhere.

The opinionated checks are not something you can just enable anymore, after B905 shows that non-EoL Pythons can be required for them. Instead, just turn on the ones that are helpful, and if more are added in the future, we can add them if we like them.

Copy link
Collaborator

@rwgk rwgk left a comment

Choose a reason for hiding this comment

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

Thank you!

What made this particularly confusing: I first saw B905 only on my local workstation, but not in GHA, then suddenly in some GHA jobs but not others, only eventually everywhere. — I'm guessing it was some rollout window that overlapped with what I was doing.

@henryiii henryiii merged commit 9727dcd into pybind:master Dec 10, 2022
@henryiii henryiii deleted the henryiii/chore/bugbear branch December 10, 2022 04:18
@github-actions github-actions bot added the needs changelog Possibly needs a changelog entry label Dec 10, 2022
@henryiii
Copy link
Collaborator Author

There’s quite a bit of caching with pre-commit, that’s why it’s so fast.

@henryiii henryiii removed the needs changelog Possibly needs a changelog entry label Dec 19, 2022
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.

3 participants