knowledge: PEP8 and PEP257 improvements
Co-authored-by: Javier Martin Montull <javier.martin.montull@cern.ch> Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>