Common Python code
It seems that we could use some common Python library as some code is used in plugins, e.g.:
- API utils, e.g. https://gitlab.labs.nic.cz/turris/reforis/reforis_diagnostics/blob/bb51ebc8256c4a125f2bde0203cd4ae9b3a76a4f/reforis_diagnostics/utils.py
- Test utils, e.g. https://gitlab.labs.nic.cz/turris/reforis/reforis_diagnostics/blob/8106fde96691d1221985149b04054fe3688ddace/tests/utils.py
- Test fixtures
- Linter configuration?
As discussed, we'll move common code to main repo and import APIError
from there.
It'd be good to do this before starting work on a new plugin.