Bug 1311696 - mixed-indentation check does not work
mixed-indentation check does not work
Product: Fedora
Classification: Fedora
Component: pylint (Show other bugs)
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Brian Lane
Fedora Extras Quality Assurance
Depends On:
  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:
Last Closed: 2016-02-24 13:55:44 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
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):

How reproducible:

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




2. run pylint

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.