Enable lint, flake8 and unit tests Cleans up non pep compliant code. Adds a simple unit test. Formats according to black. Tox automatically runs lint, flake8 and unit test suite with coverage. To run each individually, execute: tox -e pylint tox -e black tox -e flake8 tox -e cover Note that these are all run for each patch via Jenkins. The full tox suite should be run locally before any commit to ensure it will not fail in Jenkins. Change-Id: I2f87abe3d5086d6d65ac33a27780c498fc7b1cd3 Signed-off-by: beierlm <mark.beierl@canonical.com>
Add License headers to all code files This was related to bug 547 https://osm.etsi.org/bugzilla/show_bug.cgi?id=547 Change-Id: Ief72f6e3b3de828be033729298ae905d163c6988 Signed-off-by: Dominik Fleischmann <dominik.fleischmann@canonical.com>
Add workload message to callback Add the charm's workload status message to the callback so more detailed information can be provided to the user. Signed-off-by: Adam Israel <adam.israel@canonical.com> Change-Id: I1bcd502a2470dd5a527bc88cf24f2e3e6753da91
New N2VC interface + updated libjuju This commit introduces the Python3 N2VC module, which acts as a standard interface to the VCA. The goal of this is to provide a common way for modules to interface with the VCA. - Updated libjuju from 0.6.1 to 0.7.3 Signed-off-by: Adam Israel <adam.israel@canonical.com> Change-Id: Ide70fb5ae5797eb6486de24653dc09a23f9c009e