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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix typo in unused comparison (B015) message #307

Merged
merged 1 commit into from Oct 31, 2022
Merged

fix typo in unused comparison (B015) message #307

merged 1 commit into from Oct 31, 2022

Conversation

jameslamb
Copy link
Contributor

Thanks so much for this awesome plugin! I just learned about it tonight and tried it out on one of my projects, and it already found a few bugs that pylint and standard flake8 didn't 馃槏

While doing that, I saw the following message.

B015 Result of comparison is not used. This line doesn't doanything. Did you intend to prepend it with assert?

I think "doanything" was supposed to be "do anything".

This PR proposes that change.

Thanks for your time and consideration.

Copy link
Collaborator

@cooperlees cooperlees left a comment

Choose a reason for hiding this comment

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

Nice catch. Many thanks!

@cooperlees cooperlees merged commit 9652dbd into PyCQA:main Oct 31, 2022
@jameslamb jameslamb deleted the message-typo branch October 31, 2022 03:41
jakkdl pushed a commit to jakkdl/flake8-bugbear that referenced this pull request Nov 7, 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.

None yet

2 participants