From: beierlm Date: Tue, 21 Apr 2020 20:36:35 +0000 (-0400) Subject: Enable lint, flake8 and unit tests X-Git-Tag: release-v8.0-start~12 X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2FN2VC.git;a=commitdiff_plain;h=f52cb7cfeb4e24febe7c66af3d5bb275a50d7f99;hp=f52cb7cfeb4e24febe7c66af3d5bb275a50d7f99 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 ---