=dev-python/pylint-0.22.0 thinks tab is 2 spaces, causing carets to be in the wrong place. I've created a small testfile with a tab character on the second line and a style issue: $ cat linttest.py def f(): i=1 Notice that pylints output includes a line with the single character '^' which should point to the '=' character in the line above, but doesn't do so, because pylint has indented it by 2 spaces instead of a tab. $ pylint --reports=n linttest.py No config file found, using default configuration ************* Module linttest W: 2: Found indentation with tabs instead of spaces C: 1: Missing docstring C: 1:f: Invalid name "f" (should match [a-z_][a-z0-9_]{2,30}$) C: 1:f: Missing docstring C: 2:f: Operator not preceded by a space i=1 ^ W: 2:f: Unused variable 'i'
i don't think pylint thinks tabs are two spaces ... the default is for it to use spaces for indentation but you used tabs -- notice the first warning in the output that talks about incorrect indentation at any rate, posted a bug upstream. they can sort it out as we don't really do development on this package ourselves.
SpanKY, thanks