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

W191 false positive for triple quoted strings #109

Closed
jcollado opened this issue Jul 24, 2012 · 1 comment
Closed

W191 false positive for triple quoted strings #109

jcollado opened this issue Jul 24, 2012 · 1 comment

Comments

@jcollado
Copy link

I'm working on some source code that uses a triple quoted string as a template to generate a file that uses a format that requires tabs (not exactly this case, but you can think of a makefile).

What I get when a run pep8 against that file is: W191 indentation contains tabs. However this happens only for the lines between the triple quotes, that is, isn't python code but free text in a string object.

What I'd expect is that pep8 ignores the text between the triple quotes and allows me to write tabs at the beginning of a line if I need to.

@florentx
Copy link
Contributor

Duplicates issue #45

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