Skip to content
Snippets Groups Projects
  1. May 31, 2017
    • Jan Mach's avatar
      Code quality improvements in executable files in bin project subdirectory. · 5fdfa234
      Jan Mach authored
      Greatly improved code quality using pylint and pyflakes. All files now rank above 9 points with custom .pylintrc-bin file. Following exceptions were added to default pylint configuration:
      
        * line-too-long - I do not want to have calls to logging service spanning over multiple lines and distracting from code flow. I want them to be only single line, no matter how long, because it is not important.
        * bad-whitespace - I like to add additional whitespaces in places, where they should not be, mostly to align related items vertically, which in my opinion improves readability.
        * logging-format-interpolation - In Python3 I prefer string.format() to string % (args).
      
      Additionally the pattern for module name validation was altered, because of our executable file naming policy (added suppot for '-' and '.' characters in name).
      
      (Redmine issue: #3443)
      5fdfa234
Loading