Skip to content
Snippets Groups Projects
  1. Nov 19, 2018
  2. May 29, 2017
    • Tom de Vries's avatar
      check_GNU_style_lib.py: Fix trailing whitespace check · 0a71c876
      Tom de Vries authored
      2017-05-29  Tom de Vries  <tom@codesourcery.com>
      
      	* check_GNU_style_lib.py (TrailingWhitespaceCheck.check): Assert no
      	trailing eol.
      	(TrailingWhitespaceTest): New unit test.
      	(check_GNU_style_file): Remove eol before checking.
      
      From-SVN: r248556
      0a71c876
    • Tom de Vries's avatar
      check_GNU_style.py: Read stdin if file argument is '-' · 75017bb9
      Tom de Vries authored
      2017-05-29  Tom de Vries  <tom@codesourcery.com>
      
      	* check_GNU_style_lib.py (check_GNU_style_file): Treat file argument as
      	file handle.  Add and handle file_encoding argument.
      	* check_GNU_style.py (main): Handle '-' file argument.  Call
      	check_GNU_style_file with file handle as argument.
      
      From-SVN: r248555
      75017bb9
    • Tom de Vries's avatar
      check_GNU_style_lib.py: Suggest to install all missing pip3 packages at once · 76baf5ca
      Tom de Vries authored
      Instead of:
      ...
      $ ./contrib/check_GNU_style.py
      termcolor module is missing (run: pip3 install termcolor)
      $ pip3 install termcolor
      $ ./contrib/check_GNU_style.py
      unidiff module is missing (run: pip3 install unidiff)
      $ pip3 install unidiff
      $
      ...
      
      Do:
      ...
      $ ./contrib/check_GNU_style.py
      termcolor and unidiff modules are missing (run: pip3 install termcolor unidiff)
      $ pip3 install termcolor unidiff
      $
      ...
      
      2017-05-29  Tom de Vries  <tom@codesourcery.com>
      
      	* check_GNU_style_lib.py: Use import_pip3 to import pip3 packages.
      	(import_pip3): New function.
      
      From-SVN: r248554
      76baf5ca
  3. May 24, 2017
  4. May 19, 2017
Loading