Bug 1311696

Summary: mixed-indentation check does not work
Product: [Fedora] Fedora Reporter: Martin Bašti <mbasti>
Component: pylintAssignee: Brian Lane <bcl>
Status: CLOSED WORKSFORME QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 23CC: bcl, mrunge
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-02-24 18:55:44 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Martin Bašti 2016-02-24 18:40:54 UTC
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 18:55:44 UTC
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 19:01:31 UTC
JFTR I found why, mixed indentation was used inside dict definition, so it is just PEP8 error