Skip to content
Snippets Groups Projects
  1. Feb 26, 2018
    • Jan Mach's avatar
      Implemented the mentat-informant.py module (previously mentat-briefer). · 24e5ea11
      Jan Mach authored
      The mentat-informant.py module is a Python replacement for previous mentat-briefer.py module. It is designed to provide periodical statistical overviews via email. The email reports are localized using babel package and can be translated into any language. Additionally, the reporting engine uses Jinja2 templating system for message rendering, so it enables very easy customization. (Redmine issue: #3377)
      24e5ea11
  2. Oct 24, 2017
  3. Aug 23, 2017
  4. Aug 08, 2017
  5. 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