pycodestyle
pycodestyle copied to clipboard
E101: improve based on context
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.