Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

W191 false positive for triple quoted strings #109

Closed
jcollado opened this Issue · 1 comment

2 participants

Javier Collado Florent Xicluna
Javier Collado

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.

Florent Xicluna
Collaborator

Duplicates issue #45

Florent Xicluna florentx closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.