Bug 1311696 - mixed-indentation check does not work
mixed-indentation check does not work
Status: CLOSED WORKSFORME
Product: Fedora
Classification: Fedora
Component: pylint (Show other bugs)
23
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Brian Lane
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2016-02-24 13:40 EST by Martin Bašti
Modified: 2016-02-24 14:01 EST (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2016-02-24 13:55:44 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Martin Bašti 2016-02-24 13:40:54 EST
Description of problem:
I have enabled mixed indentation check, but pylint does not report mixed indentation warnings (config file https://git.fedorahosted.org/cgit/freeipa.git/tree/pylintrc)

Version-Release number of selected component (if applicable):
pylint-1.4.3-3.fc23.noarch
pylint-1.5.4-2.fc24.noarch


How reproducible:
Always

Steps to Reproduce:
1. Create python file with mixed indentation

<space><space><space><space>
<tab>
<space><space><space><space>

and

<space><space><space><space><tab>

2. run pylint
3.

Actual results:
Pylint does not report mixed indentation warnings

Expected results:
Pylint should report warning that indentation is mixed

Additional info:
Comment 1 Martin Bašti 2016-02-24 13:55:44 EST
Sorry for bothering, I created new file aside our git tree and it works there, I have to figure out why this check does not work in our git tree.
Comment 2 Martin Bašti 2016-02-24 14:01:31 EST
JFTR I found why, mixed indentation was used inside dict definition, so it is just PEP8 error

Note You need to log in before you can comment on or make changes to this bug.