summaryrefslogtreecommitdiff
path: root/pylint/test/functional/bad_indentation.py
blob: c868aedcf20c90cf61505b68fa78a065db19552f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# pylint: disable=missing-docstring, pointless-statement
from __future__ import print_function


def totoo():
 print('malindented') # [bad-indentation]

def tutuu():
    print('good indentation')

def titii():
     1  # and this. # [bad-indentation]

def tataa(kdict):
    for key in ['1', '2', '3']:
        key = key.lower()

        if key in kdict:
            del kdict[key]