From: garciadeblas Date: Fri, 31 Mar 2023 19:45:46 +0000 (+0200) Subject: Fix black and flake8 errors X-Git-Tag: v13.0.1^0 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=refs%2Fheads%2Fv13.0;p=osm%2FNG-SA.git Fix black and flake8 errors Change-Id: Ib5c51a200a8242f17b7ba7ed873e170337c19a9e Signed-off-by: garciadeblas --- diff --git a/requirements-dev.in b/requirements-dev.in index d1c41a3..126eccf 100644 --- a/requirements-dev.in +++ b/requirements-dev.in @@ -15,6 +15,6 @@ # limitations under the License. ####################################################################################### -git+https://osm.etsi.org/gerrit/osm/common.git@master#egg=osm-common +git+https://osm.etsi.org/gerrit/osm/common.git@v13.0#egg=osm-common -r https://osm.etsi.org/gitweb/?p=osm/common.git;a=blob_plain;f=requirements.txt;hb=v13.0 apache-airflow==2.4.* diff --git a/requirements-dev.txt b/requirements-dev.txt index 6e2b132..94f4654 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -223,7 +223,7 @@ mdit-py-plugins==0.3.1 # via apache-airflow mdurl==0.1.2 # via markdown-it-py -osm-common @ git+https://osm.etsi.org/gerrit/osm/common.git@master +osm-common @ git+https://osm.etsi.org/gerrit/osm/common.git@v13.0 # via -r requirements-dev.in packaging==21.3 # via diff --git a/src/osm_ngsa/osm_mon/vim_connectors/azure.py b/src/osm_ngsa/osm_mon/vim_connectors/azure.py index 23086c4..161e596 100644 --- a/src/osm_ngsa/osm_mon/vim_connectors/azure.py +++ b/src/osm_ngsa/osm_mon/vim_connectors/azure.py @@ -27,7 +27,6 @@ log = logging.getLogger(__name__) class AzureCollector(VIMConnector): - # Translate azure provisioning state to OSM provision state. # The first three ones are the transitional status once a user initiated # action has been requested. Once the operation is complete, it will diff --git a/tox.ini b/tox.ini index 4a9dcbf..2fdac0f 100644 --- a/tox.ini +++ b/tox.ini @@ -44,7 +44,7 @@ commands = deps = {[testenv]deps} -r{toxinidir}/requirements-dev.txt -r{toxinidir}/requirements-test.txt -whitelist_externals = sh +allowlist_externals = sh commands = sh -c 'rm -f nosetests.xml' coverage erase @@ -90,7 +90,7 @@ commands = [testenv:pip-compile] deps = pip-tools==6.6.2 skip_install = true -whitelist_externals = +allowlist_externals = bash [ commands = @@ -117,7 +117,7 @@ commands = sh -c 'cd deb_dist/osm-ngsa*/ && dpkg-buildpackage -rfakeroot -uc -us' sh -c 'rm src/osm_ngsa/requirements.txt' sh -c 'rm src/osm_ngsa/README.rst' -whitelist_externals = sh +allowlist_externals = sh #######################################################################################