Skip to content

Fix noqa comment parsing #11

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
Nov 2, 2019
Merged

Fix noqa comment parsing #11

merged 1 commit into from
Nov 2, 2019

Conversation

rimrul
Copy link
Contributor

@rimrul rimrul commented Nov 2, 2019

Previously the noqa parser would reset the noqa variable each comment line.
This lead to msgcheck only recognizing noqa comments if they were the last comment line before the message.

With this change the noqa comment can be any comment line for a given message.

Previously the noqa parser would reset the noqa variable each comment line.
This lead to msgcheck only recognizing noqa comments if they were the last comment line before the message.

With this change the noqa comment can be any comment line for a given message.
@flashcode flashcode self-assigned this Nov 2, 2019
@flashcode flashcode added the bug Unexpected problem or unintended behavior label Nov 2, 2019
@flashcode flashcode merged commit a10d245 into flashcode:master Nov 2, 2019
@flashcode
Copy link
Owner

Thanks.

@flashcode flashcode added this to the 3.1 milestone Nov 2, 2019
@rimrul rimrul deleted the patch-1 branch November 3, 2019 09:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Unexpected problem or unintended behavior
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants