From ec214d3ebe4817a8ea0a8e59dd0ff08ff7ff7b28 Mon Sep 17 00:00:00 2001 From: CI Bot Date: Mon, 27 Jul 2026 14:11:10 +0000 Subject: [PATCH] style: auto-format with black + isort + prettier [skip ci-format-check] --- scripts/ci/test_bad_format.py | 27 +++++++++++++-------------- 1 file changed, 13 insertions(+), 14 deletions(-) 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