File tree 2 files changed +9
-4
lines changed
2 files changed +9
-4
lines changed Original file line number Diff line number Diff line change 1
1
--- @type conform.FileFormatterConfig
2
2
return {
3
3
meta = {
4
- url = " https://beta.ruff.rs/docs /" ,
4
+ url = " https://docs.astral.sh/ruff /" ,
5
5
description = " An extremely fast Python linter, written in Rust. Fix lint errors." ,
6
6
},
7
7
command = " ruff" ,
8
8
args = {
9
+ " check" ,
9
10
" --fix" ,
10
- " -e" ,
11
- " -n" ,
11
+ " --force-exclude" ,
12
+ " --exit-zero" ,
13
+ " --no-cache" ,
12
14
" --stdin-filename" ,
13
15
" $FILENAME" ,
14
16
" -" ,
@@ -17,5 +19,6 @@ return {
17
19
cwd = require (" conform.util" ).root_file ({
18
20
" pyproject.toml" ,
19
21
" ruff.toml" ,
22
+ " .ruff.toml" ,
20
23
}),
21
24
}
Original file line number Diff line number Diff line change 1
1
--- @type conform.FileFormatterConfig
2
2
return {
3
3
meta = {
4
- url = " https://beta.ruff.rs/docs /" ,
4
+ url = " https://docs.astral.sh/ruff /" ,
5
5
description = " An extremely fast Python linter, written in Rust. Formatter subcommand." ,
6
6
},
7
7
command = " ruff" ,
8
8
args = {
9
9
" format" ,
10
+ " --force-exclude" ,
10
11
" --stdin-filename" ,
11
12
" $FILENAME" ,
12
13
" -" ,
@@ -15,5 +16,6 @@ return {
15
16
cwd = require (" conform.util" ).root_file ({
16
17
" pyproject.toml" ,
17
18
" ruff.toml" ,
19
+ " .ruff.toml" ,
18
20
}),
19
21
}
You can’t perform that action at this time.
0 commit comments