Skip to content

Commit 7ee9a0b

Browse files
committed
chore: black -> ruff
1 parent 5ce3c72 commit 7ee9a0b

File tree

3 files changed

+34
-87
lines changed

3 files changed

+34
-87
lines changed

.github/workflows/test.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,9 @@ jobs:
1919
enable-cache: true
2020
cache-dependency-glob: "uv.lock"
2121
python-version-file: "pyproject.toml"
22+
- name: Ruff format
2223
run: |
23-
uv run black --check .
24+
uv run ruff format --diff --exit-non-zero-on-format
25+
- name: Ruff check
26+
run: |
27+
uv run ruff check

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ GitHub = "https://github.com/onekey-sec/python-client"
3333
onekey = "onekey_client.cli.cli:main"
3434

3535
[dependency-groups]
36-
dev = ["black>=25.0.0,<26"]
36+
dev = ["ruff==0.14.9"]
3737

3838
[build-system]
3939
requires = ["hatchling"]

uv.lock

Lines changed: 28 additions & 85 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)