Bug 1311696 - mixed-indentation check does not work
Summary: mixed-indentation check does not work
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Fedora
Classification: Fedora
Component: pylint
Version: 23
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Brian Lane
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-02-24 18:40 UTC by Martin Bašti
Modified: 2016-02-24 19:01 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-02-24 18:55:44 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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


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