diff options
Diffstat (limited to 'tests/functional/b/bad_indentation.py')
| -rw-r--r-- | tests/functional/b/bad_indentation.py | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/functional/b/bad_indentation.py b/tests/functional/b/bad_indentation.py new file mode 100644 index 000000000..4c50eae0b --- /dev/null +++ b/tests/functional/b/bad_indentation.py @@ -0,0 +1,19 @@ +# 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] |
