From 74a02a23a36f030fd65c187e73e2afd99b97223b Mon Sep 17 00:00:00 2001 From: Manpreet Kaur Date: Tue, 26 Jan 2021 19:48:08 +0530 Subject: [PATCH] Update git submodules * Update heat-translator from branch 'master' to 6687b35b465d8d853fa1980a1f3b76d2b7e064fc - Move heat-translator 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 heat-translator 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 ./translator/tests/test_utils.py:51:13: H211: Use assert{Is,IsNot}instance self.assertTrue( [1] https://docs.openstack.org/releasenotes/hacking/unreleased.html#relnotes-4-0-0 Change-Id: Iae79b8c5c6873d6bf5f6ef1b427dc8c60bade03f --- heat-translator | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/heat-translator b/heat-translator index 4809045ed5..6687b35b46 160000 --- a/heat-translator +++ b/heat-translator @@ -1 +1 @@ -Subproject commit 4809045ed5252a368974e98ea133404f11fd0e5d +Subproject commit 6687b35b465d8d853fa1980a1f3b76d2b7e064fc