pycodestyle icon indicating copy to clipboard operation
pycodestyle copied to clipboard

E101: improve based on context

Open spaceone opened this issue 9 years ago • 1 comments

It would be nice if E101 would be more concrete. For example new codes could be:

E102 docstring/comment contains mixed spaces and tabs:

def foo():
    ''''
	  test
    '''

E103 multiline string contains mixed spaces and tabs:

foo = '''
	  test
'''

This would differentiate string content from real indentation.

spaceone avatar Nov 14 '16 16:11 spaceone