Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit aee4c7a

Browse filesBrowse files
authored
chore: migrate settings to ruff.toml (#5773)
1 parent dc75d20 commit aee4c7a
Copy full SHA for aee4c7a

File tree

2 files changed

+21
-1
lines changed
Filter options

2 files changed

+21
-1
lines changed

‎.github/workflows/ci.yaml

Copy file name to clipboardExpand all lines: .github/workflows/ci.yaml
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ jobs:
328328
- name: Ensure docs generate no warnings
329329
run: cargo doc
330330
- name: run python lint
331-
run: ruff check extra_tests wasm examples --exclude='./.*',./Lib,./vm/Lib,./benches/ --select=E9,F63,F7,F82
331+
run: ruff check
332332
- name: install prettier
333333
run: yarn global add prettier && echo "$(yarn global bin)" >>$GITHUB_PATH
334334
- name: check wasm code with prettier

‎ruff.toml

Copy file name to clipboard
+20Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
include = [
2+
"examples/**/*.py",
3+
"extra_tests/**/*.py",
4+
"wasm/**/*.py",
5+
]
6+
7+
exclude = [
8+
".*",
9+
"Lib",
10+
"vm/Lib",
11+
"benches",
12+
]
13+
14+
[lint]
15+
select = [
16+
"E9", # pycodestyle (error)
17+
"F63", # pyflakes
18+
"F7",
19+
"F82",
20+
]

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.