Skip to content
Snippets Groups Projects
Commit 5fdfa234 authored by Jan Mach's avatar Jan Mach
Browse files

Code quality improvements in executable files in bin project subdirectory.

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)
parent dfcfd74f
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment