WSC002: Tailing whitespace

Alerting for left spaces, tabulators at end of lines.

Example

Input file: examples/WSC002_tailing_ws.py

class LabelPrinter:
    def print(self, printer: (Printer, None)=None, copies: int=1):
        printer = printer or Printer(config.App.LABEL_PRINTER)      

        self.print_to_pdf()  
        printer.print_pdf(self.__pdf_path, options={'copies': str(copies)})

Command:

$ wscheck 'examples/WSC002_tailing_ws.py'
In examples/WSC002_tailing_ws.py line 3:
        printer = printer or Printer(config.App.LABEL_PRINTER)
                                                              ^-- WSC002: Tailing whitespace

In examples/WSC002_tailing_ws.py line 5:
        self.print_to_pdf()
                           ^-- WSC002: Tailing whitespace