Skip to content

Commit 3195c9c

Browse files
committed
chore: fix ruff format and linting violations
1 parent 2ee3a56 commit 3195c9c

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

onekey_client/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
from .client import Client
2-
from .models import Tenant, FirmwareMetadata
1+
from .client import Client as Client
2+
from .models import Tenant as Tenant, FirmwareMetadata as FirmwareMetadata

onekey_client/cli/ci.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -205,9 +205,9 @@ def create_new_cve_testcase(self, cve):
205205
message="New CVE",
206206
output=f"""New CVE detected
207207
URL: {url}
208-
CVE ID: {cve['id']}
209-
Severity: {cve['severity']}
210-
Description: {cve['description']}
208+
CVE ID: {cve["id"]}
209+
Severity: {cve["severity"]}
210+
Description: {cve["description"]}
211211
""",
212212
)
213213
return test_case

onekey_client/queries/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
from .utils import load_query
1+
from .utils import load_query as load_query

0 commit comments

Comments
 (0)