Open
Description
This builds on the changes in #33 and refactors suite_report.py
. The goals are to:
- fix compliance with pylint as far as possible
- improve code structure by
- splitting the monolithic SuiteReport class
- moving global variables into classes
- separating trac table generation on a separate class
- making internal methods private
- use
pathlib
and associated functions in place ofos.path
and strings - improve/add google-style docstrings
- update exception handling by
- using appropriate builtin exceptions
- removing broad
except Exception
catches - moving exception handling to the top level
- using custom exceptions where necessary
The result should be a modernised version of the script which produces the same - or very similar - output as the unmodernised version.