chore: migrate settings to ruff.toml (#5773)

This commit is contained in:
Rex Ledesma authored and GitHub committed 2025-05-08 14:46:57 +09:00
1 parent dc75d203ff
commit aee4c7ac69
2 files changed
+21 -1

No files matched your search

+1 -1
View File
@@ -328,7 +328,7 @@ jobs:
- name: Ensure docs generate no warnings
run: cargo doc
- name: run python lint
run: ruff check extra_tests wasm examples --exclude='./.*',./Lib,./vm/Lib,./benches/ --select=E9,F63,F7,F82
run: ruff check
- name: install prettier
run: yarn global add prettier && echo "$(yarn global bin)" >>$GITHUB_PATH
- name: check wasm code with prettier
+20
View File
@@ -0,0 +1,20 @@
include = [
"examples/**/*.py",
"extra_tests/**/*.py",
"wasm/**/*.py",
]
exclude = [
".*",
"Lib",
"vm/Lib",
"benches",
]
[lint]
select = [
"E9", # pycodestyle (error)
"F63", # pyflakes
"F7",
"F82",
]