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

Comments containing \r \n \t etc shouldn't report an error. #51

Merged
merged 3 commits into from
Oct 20, 2015

Conversation

adiroiban
Copy link
Member

The following comment shouldn't be considered an error.

'\r\n' is the default, but we set it just to be explicit in this test.


Imported from Launchpad using lp2gh.

@adiroiban
Copy link
Member

the actual comment is

# '\r\n' is the default, but we set it just to be explicit in this test.

and the errors are

W9401: 24,0: Comments should begin with one whitespace
W9402: 24,0: The first letter of comment should be capitalized

@adiroiban adiroiban changed the title Comments that start with # ' shouldn't report an error. Comments containing \r \n \t etc shouldn't report an error. Feb 9, 2015
@adiroiban
Copy link
Member

Please take a look at latest patch.

I have no idea why strings were removed from the comments. I have removed that code and tried to come up with other examples.

Thanks!

@glyph
Copy link
Member

glyph commented Mar 24, 2015

This looks fine to me, but I guess now that I've merged some other things, we need to merge master back in.

@adiroiban
Copy link
Member

Ok. Merged and resolved conflicts.

@adiroiban
Copy link
Member

This was waiting review for a long time :(

adiroiban added a commit that referenced this pull request Oct 20, 2015
Comments containing \r \n \t etc shouldn't report an error.
@adiroiban adiroiban merged commit e4da75a into master Oct 20, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants