diff --git a/scripts/ci/test_bad_format.py b/scripts/ci/test_bad_format.py index 3c3798bb6..87a410b58 100644 --- a/scripts/ci/test_bad_format.py +++ b/scripts/ci/test_bad_format.py @@ -1,22 +1,21 @@ +import json import os import sys -import json -def test_func( a,b,c ): - x=1+2 + +def test_func(a, b, c): + x = 1 + 2 y = "hello" - z = { - "key": "value", - "key2":"value2" - } - if x==1: - print( "bad format" ) + z = {"key": "value", "key2": "value2"} + if x == 1: + print("bad format") return z -class BadFormatClass: - def method1(self,arg1,arg2): - result=arg1+arg2 - return result - def method2( self ): +class BadFormatClass: + def method1(self, arg1, arg2): + result = arg1 + arg2 + return result + + def method2(self): pass