Skip to content

Latest commit

 

History

History
18 lines (12 loc) · 604 Bytes

WSC001.rst

File metadata and controls

18 lines (12 loc) · 604 Bytes

WSC001: Bad line ending

This rule enforces Linux style (\n) line ending, and alerting for Windows (\r\n) and Osx (\r) style.

Example

examples/WSC001_bad_eol.py

In <PATH> line 3:
pdf_generator = _LabelPdfGenerator()

^-- WSC001: Bad line ending 'rn'

In <PATH> line 5:
self.__title, self.__data, self.__logo_path, config.App.LABEL_BORDER,

^-- WSC001: Bad line ending 'r'