tptimer/env/lib/python2.7/site-packages/pylint/test/functional/trailing_whitespaces.py

12 lines
432 B
Python
Raw Normal View History

2018-07-20 05:43:02 +00:00
"""Regression test for trailing-whitespace (C0303)."""
# pylint: disable=mixed-line-endings
from __future__ import print_function
# +1: [trailing-whitespace]
print('some trailing whitespace')
# +1: [trailing-whitespace]
print('trailing whitespace does not count towards the line length limit')
print('windows line ends are ok')
# +1: [trailing-whitespace]
print('but trailing whitespace on win is not')