@@ -32,7 +32,7 @@ class TestSet001__Common:
3232 @pytest .fixture (params = sm_OptionNames , ids = [x for x in sm_OptionNames ])
3333 def optionName (self , request : pytest .fixture ) -> str :
3434 assert isinstance (request , pytest .FixtureRequest )
35- assert type (request .param ) == str
35+ assert type (request .param ) == str # noqa: E721
3636 return request .param
3737
3838 # --------------------------------------------------------------------
@@ -97,7 +97,7 @@ def __init__(self, set_value: any, get_value: bool):
9797
9898 # --------------------------------------------------------------------
9999 def test_001__ok (self , optionName : str ):
100- assert type (optionName ) == str
100+ assert type (optionName ) == str # noqa: E721
101101
102102 rootTmpDir = TestServices .GetRootTmpDir ()
103103
@@ -107,7 +107,7 @@ def test_001__ok(self, optionName: str):
107107 cfg = PgCfg_Std (rootTmpDir )
108108
109109 data = __class__ .sm_Data001 [iData ]
110- assert type (data ) == __class__ .tagData001
110+ assert type (data ) == __class__ .tagData001 # noqa: E721
111111
112112 try :
113113 logging .info (
@@ -133,7 +133,7 @@ def test_001__ok(self, optionName: str):
133133 )
134134 )
135135
136- assert type (actualValue ) == type (data .get_value )
136+ assert type (actualValue ) == type (data .get_value ) # noqa: E721
137137 assert actualValue == data .get_value
138138 except Exception as e :
139139 logging .error (str (e ))
@@ -159,7 +159,7 @@ def __init__(self, set_value: any):
159159
160160 # --------------------------------------------------------------------
161161 def test_002__cant_convert_value (self , optionName : str ):
162- assert type (optionName ) == str
162+ assert type (optionName ) == str # noqa: E721
163163
164164 rootTmpDir = TestServices .GetRootTmpDir ()
165165
@@ -169,7 +169,7 @@ def test_002__cant_convert_value(self, optionName: str):
169169 cfg = PgCfg_Std (rootTmpDir )
170170
171171 data = __class__ .sm_Data002 [iData ]
172- assert type (data ) == __class__ .tagData002
172+ assert type (data ) == __class__ .tagData002 # noqa: E721
173173
174174 logging .info (
175175 "Set value [{}]: [{}]" .format (
@@ -204,7 +204,7 @@ def __init__(self, set_value: any):
204204
205205 # --------------------------------------------------------------------
206206 def test_003__bad_option_value_type (self , optionName : str ):
207- assert type (optionName ) == str
207+ assert type (optionName ) == str # noqa: E721
208208
209209 rootTmpDir = TestServices .GetRootTmpDir ()
210210
@@ -214,7 +214,7 @@ def test_003__bad_option_value_type(self, optionName: str):
214214 cfg = PgCfg_Std (rootTmpDir )
215215
216216 data = __class__ .sm_Data003 [iData ]
217- assert type (data ) == __class__ .tagData003
217+ assert type (data ) == __class__ .tagData003 # noqa: E721
218218
219219 logging .info (
220220 "Set value [{}]: [{}]" .format (
@@ -240,8 +240,8 @@ class tagData101_Assign:
240240 text : str
241241
242242 def __init__ (self , sign : str , text : str ):
243- assert type (sign ) == str
244- assert type (text ) == str
243+ assert type (sign ) == str # noqa: E721
244+ assert type (text ) == str # noqa: E721
245245 self .sign = sign
246246 self .text = text
247247
@@ -265,9 +265,9 @@ class tagData101_Quote:
265265 quote2 : str
266266
267267 def __init__ (self , sign : str , quote1 : str , quote2 : str ):
268- assert type (sign ) == str
269- assert type (quote1 ) == str
270- assert type (quote2 ) == str
268+ assert type (sign ) == str # noqa: E721
269+ assert type (quote1 ) == str # noqa: E721
270+ assert type (quote2 ) == str # noqa: E721
271271 self .sign = sign
272272 self .quote1 = quote1
273273 self .quote2 = quote2
@@ -337,10 +337,10 @@ def __init__(self, source: any, result: bool):
337337
338338 # --------------------------------------------------------------------
339339 def test_101__parse_file_line (self , optionName : str ):
340- assert type (optionName ) == str
340+ assert type (optionName ) == str # noqa: E721
341341
342342 rootTmpDir = TestServices .GetRootTmpDir ()
343- assert type (rootTmpDir ) == str
343+ assert type (rootTmpDir ) == str # noqa: E721
344344
345345 for iAssign in range (len (__class__ .sm_Data101_assigns )):
346346 for iQuote in range (len (__class__ .sm_Data101_quotes )):
0 commit comments