Skip to content

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