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

Comment checker will flag W9401 and W9402 on a string that contains a '#' #135

Closed
jwtrhs opened this issue Oct 15, 2017 · 1 comment
Closed

Comments

@jwtrhs
Copy link

jwtrhs commented Oct 15, 2017

Bit of an edge case, but if I declare a python string containing a '#' character it gets picked up and checked as a comment.

See the following diff for an example that triggers the problem (a '#' symbol in the anchor portion of a URL) and workaround for the problem (declare the string inside triple quotes ["""] on a new line).

twisted/twisted@b7447a1

@adiroiban
Copy link
Member

Thanks for the report. This is a duplicate of #110

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

No branches or pull requests

2 participants