From c09f18ddb6a3c56c084f2553cc51085ad18e41f7 Mon Sep 17 00:00:00 2001 From: Manpreet Kaur Date: Tue, 26 Jan 2021 19:43:41 +0530 Subject: [PATCH] Update git submodules * Update tosca-parser from branch 'master' to ce8fa0f8bc3e160168d07dae9f96075631688132 - Move tosca-parser to new hacking 4.0.0 Hacking 4.0.0 has introduce new optimal assert checks. Please refer [1] for more details. Additionally Hacking has enabled some new checks by default, and the next update to the new release will introduce failures in tosca-parser pep8 jobs. The main impact is from I122d250cab90964c346e9d53046a97c25054bc00. This patch adopts new optimal assert check. [H211]: Change assertTrue(isinstance(A, B)) to assertIsInstance(A, B) On bumping up the hacking version, below mention pep8 jobs failed. This patch address the issues now, when the new hacking release starts being used it will not cause a disruption. pep8 run-test: commands[0] | flake8 ./toscaparser/tests/test_toscatplvalidation.py:502:13: H211: Use assert{Is,IsNot}instance [1] https://docs.openstack.org/releasenotes/hacking/unreleased.html#relnotes-4-0-0 Change-Id: I5c83168267be63d4b3908ce6bb844a64bcee837d --- tosca-parser | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tosca-parser b/tosca-parser index df16f011f0..ce8fa0f8bc 160000 --- a/tosca-parser +++ b/tosca-parser @@ -1 +1 @@ -Subproject commit df16f011f07563c89f15ea9899b23cd0c87fb15d +Subproject commit ce8fa0f8bc3e160168d07dae9f96075631688132