mirror of
https://github.com/RustPython/RustPython.git
synced 2026-10-28 18:59:04 +08:00
chore: add ruff format --check (#5774)
* chore: add `ruff format --check` * fix tests
This commit is contained in:
1 parent
df380bca96
commit
4e2e0b41c6
138 files changed
+3997
-2696
No files matched your search
@@ -327,8 +327,10 @@ jobs:
|
||||
run: python -m pip install ruff==0.11.8
|
||||
- name: Ensure docs generate no warnings
|
||||
run: cargo doc
|
||||
- name: run python lint
|
||||
run: ruff check
|
||||
- name: run ruff check
|
||||
run: ruff check --diff
|
||||
- name: run ruff format
|
||||
run: ruff format --check
|
||||
- name: install prettier
|
||||
run: yarn global add prettier && echo "$(yarn global bin)" >>$GITHUB_PATH
|
||||
- name: check wasm code with prettier
|
||||
|
||||
Reference in new issue
Block a user