Fix black and flake8 errors 31/13131/1 v13.0 v13.0.1 v13.0.2
authorgarciadeblas <gerardo.garciadeblas@telefonica.com>
Fri, 31 Mar 2023 19:45:46 +0000 (21:45 +0200)
committergarciadeblas <gerardo.garciadeblas@telefonica.com>
Fri, 31 Mar 2023 19:45:46 +0000 (21:45 +0200)
Change-Id: Ib5c51a200a8242f17b7ba7ed873e170337c19a9e
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
requirements-dev.in
requirements-dev.txt
src/osm_ngsa/osm_mon/vim_connectors/azure.py
tox.ini

index d1c41a3..126eccf 100644 (file)
@@ -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.*
index 6e2b132..94f4654 100644 (file)
@@ -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
index 23086c4..161e596 100644 (file)
@@ -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 (file)
--- 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
 
 
 #######################################################################################