Closed
Description
Steps to reproduce
- Have a mix of spaces and tabs in a multiline object/array
// Spaces everywhere for the indentation
foo = {
'bar': [
'foobar',
'barfoo', // Tabs on this line instead of spaces
]
}
- Run pylint
- Notice it doesn't catch the mixed-indentation
Current behavior
Pylint doesn't catch the mixed indentation (see code snippet in steps to reproduce)
Expected behavior
Pylint should catch the mixed indentation and report an error
pylint --version output
Using config file foo\.pylintrc
__main__.py 1.9.2,
astroid 1.6.5
Python 3.6.5 (v3.6.5:f59c0932b4, Mar 28 2018, 17:00:18) [MSC v.1900 64 bit (AMD64)]