Skip to content

Commit b98501a

Browse files
committed
chore: black -> ruff
1 parent 30ea3d8 commit b98501a

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
@@ -22,5 +22,9 @@ jobs:
2222
enable-cache: true
2323
cache-dependency-glob: "uv.lock"
2424
python-version-file: "pyproject.toml"
25+
- name: Ruff format
2526
run: |
26-
uv run black --check .
27+
uv run ruff format --diff --exit-non-zero-on-format
28+
- name: Ruff check
29+
run: |
30+
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)