Avatar for the astral-sh user
astral-sh
ruff
BlogDocsChangelog

Allow arbitrary configuration options to be overridden via the CLI

#9599Merged
Comparing
AlexWaygood:arbitrary-cli-overrides
(
0f8a583
) with
main
(
d387d0b
)
CodSpeed Performance Gauge
0%
Untouched
30

Benchmarks

30 total
parser[numpy/ctypeslib.py]
crates/ruff_benchmark/benches/parser.rs::parser::benchmark_parser
CodSpeed Performance Gauge
0%
2 ms2 ms
formatter[unicode/pypinyin.py]
crates/ruff_benchmark/benches/formatter.rs::formatter::benchmark_formatter
CodSpeed Performance Gauge
0%
688.4 µs688.3 µs
formatter[numpy/globals.py]
crates/ruff_benchmark/benches/formatter.rs::formatter::benchmark_formatter
CodSpeed Performance Gauge
0%
268.3 µs268.3 µs
linter/default-rules[unicode/pypinyin.py]
crates/ruff_benchmark/benches/linter.rs::default_rules::benchmark_default_rules
CodSpeed Performance Gauge
0%
384.5 µs384.5 µs
linter/default-rules[numpy/ctypeslib.py]
crates/ruff_benchmark/benches/linter.rs::default_rules::benchmark_default_rules
CodSpeed Performance Gauge
0%
969.7 µs969.7 µs
formatter[pydantic/types.py]
crates/ruff_benchmark/benches/formatter.rs::formatter::benchmark_formatter
CodSpeed Performance Gauge
0%
3.7 ms3.7 ms
linter/all-rules[numpy/ctypeslib.py]
crates/ruff_benchmark/benches/linter.rs::all_rules::benchmark_all_rules
CodSpeed Performance Gauge
0%
4 ms4 ms
formatter[numpy/ctypeslib.py]
crates/ruff_benchmark/benches/formatter.rs::formatter::benchmark_formatter
CodSpeed Performance Gauge
0%
2 ms2 ms
linter/default-rules[numpy/globals.py]
crates/ruff_benchmark/benches/linter.rs::default_rules::benchmark_default_rules
CodSpeed Performance Gauge
0%
190.9 µs190.9 µs
linter/default-rules[large/dataset.py]
crates/ruff_benchmark/benches/linter.rs::default_rules::benchmark_default_rules
CodSpeed Performance Gauge
0%
3.9 ms3.9 ms
lexer[numpy/globals.py]
crates/ruff_benchmark/benches/lexer.rs::lexer::benchmark_lexer
CodSpeed Performance Gauge
0%
36.4 µs36.4 µs
lexer[large/dataset.py]
crates/ruff_benchmark/benches/lexer.rs::lexer::benchmark_lexer
CodSpeed Performance Gauge
0%
1.4 ms1.4 ms
lexer[unicode/pypinyin.py]
crates/ruff_benchmark/benches/lexer.rs::lexer::benchmark_lexer
CodSpeed Performance Gauge
0%
97.9 µs97.9 µs
parser[large/dataset.py]
crates/ruff_benchmark/benches/parser.rs::parser::benchmark_parser
CodSpeed Performance Gauge
0%
11.4 ms11.4 ms
linter/all-with-preview-rules[numpy/globals.py]
crates/ruff_benchmark/benches/linter.rs::preview_rules::benchmark_preview_rules
CodSpeed Performance Gauge
0%
767.2 µs767.2 µs
formatter[large/dataset.py]
crates/ruff_benchmark/benches/formatter.rs::formatter::benchmark_formatter
CodSpeed Performance Gauge
0%
9.7 ms9.7 ms
parser[pydantic/types.py]
crates/ruff_benchmark/benches/parser.rs::parser::benchmark_parser
CodSpeed Performance Gauge
0%
4.5 ms4.5 ms
linter/all-rules[large/dataset.py]
crates/ruff_benchmark/benches/linter.rs::all_rules::benchmark_all_rules
CodSpeed Performance Gauge
0%
16.1 ms16.1 ms
linter/all-rules[pydantic/types.py]
crates/ruff_benchmark/benches/linter.rs::all_rules::benchmark_all_rules
CodSpeed Performance Gauge
0%
7.9 ms7.9 ms
linter/default-rules[pydantic/types.py]
crates/ruff_benchmark/benches/linter.rs::default_rules::benchmark_default_rules
CodSpeed Performance Gauge
0%
1.9 ms1.9 ms
linter/all-with-preview-rules[numpy/ctypeslib.py]
crates/ruff_benchmark/benches/linter.rs::preview_rules::benchmark_preview_rules
CodSpeed Performance Gauge
0%
4.6 ms4.6 ms
lexer[pydantic/types.py]
crates/ruff_benchmark/benches/lexer.rs::lexer::benchmark_lexer
CodSpeed Performance Gauge
0%
643.8 µs643.8 µs
linter/all-with-preview-rules[pydantic/types.py]
crates/ruff_benchmark/benches/linter.rs::preview_rules::benchmark_preview_rules
CodSpeed Performance Gauge
0%
9.4 ms9.4 ms
linter/all-rules[numpy/globals.py]
crates/ruff_benchmark/benches/linter.rs::all_rules::benchmark_all_rules
CodSpeed Performance Gauge
0%
681.9 µs682 µs
parser[unicode/pypinyin.py]
crates/ruff_benchmark/benches/parser.rs::parser::benchmark_parser
CodSpeed Performance Gauge
0%
772.3 µs772.3 µs

Commits

Click on a commit to change the comparison range
Base
main
d387d0b
0%
i can spell
3cdbec7
2 years ago
by AlexWaygood
+0.04%
Fix a couple build/test failures
0f2cc2c
2 years ago
by AlexWaygood
+0.5%
Just pass a `Vec` to `from_cli_options`
7bb72f5
2 years ago
by AlexWaygood
-0.15%
Misc review comments
e7a1d89
2 years ago
by AlexWaygood
+0.05%
More docs cleanup
7c05cd5
2 years ago
by AlexWaygood
-0.03%
use an `Arc`
26b7dc8
2 years ago
by AlexWaygood
+0.06%
Use `clap` a little more for slightly prettier errors
59e6e0a
2 years ago
by AlexWaygood
-0.4%
Merge branch 'main' into arbitrary-cli-overrides
f33e91e
2 years ago
by AlexWaygood
-0.06%
regen docs
cd6b4ce
2 years ago
by AlexWaygood
-23.14%
Improve error messages
3fb5d21
2 years ago
by AlexWaygood
+23.14%
Merge branch 'main' into arbitrary-cli-overrides
d6a18fe
2 years ago
by AlexWaygood
-0.04%
Add tests for some failure cases
8379890
2 years ago
by AlexWaygood
-0.09%
Also test the formatter
366cd1b
2 years ago
by AlexWaygood
+0.11%
Many more tests
2583136
2 years ago
by AlexWaygood
-0.11%
spelling
981210c
2 years ago
by AlexWaygood
+0.09%
Simplify some code
3bfcae2
2 years ago
by AlexWaygood
+0.12%
cargo fmt
aca4af5
2 years ago
by AlexWaygood
-0.07%
couple more tests
446517b
2 years ago
by AlexWaygood
0%
Docs
c39fbd6
2 years ago
by AlexWaygood
+0.31%
add a newline
d771243
2 years ago
by AlexWaygood
+0.04%
Fix compile; address more Micha comments
be48c4f
2 years ago
by AlexWaygood
-0.08%
Return `&Path` from `config_file()`
1cc613c
2 years ago
by AlexWaygood
+0.02%
Improve docs for `--config`
c12bb11
2 years ago
by AlexWaygood
+0.02%
regen docs
a880691
2 years ago
by AlexWaygood
0%
Delete `Configuration::transform()`
59e07c3
2 years ago
by AlexWaygood
-0.03%
Rename the enum and its variants
7ec9e8a
2 years ago
by AlexWaygood
+0.03%
More consistent naming for arguments that take instances of `ConfigArguments`
de846ba
2 years ago
by AlexWaygood
+0.04%
Better dev docs for the `ConfigArguments` struct
893f214
2 years ago
by AlexWaygood
-0.15%
cargo fmt
b12a9c7
2 years ago
by AlexWaygood
+0.08%
Don't return `clap::Error` after the initial argument-parsing phase
1501eeb
2 years ago
by AlexWaygood
-0.27%
Merge branch 'main' into arbitrary-cli-overrides
e39aa39
2 years ago
by AlexWaygood
-0.03%
Merge branch 'main' into arbitrary-cli-overrides
e1a3328
2 years ago
by AlexWaygood
0%
Fixup some issues after merging in `main`
d83cfa5
2 years ago
by AlexWaygood
+0.02%
Fix remaining test failures
138c6c3
2 years ago
by AlexWaygood
+0.02%
Merge branch 'main' into arbitrary-cli-overrides
e500b39
2 years ago
by AlexWaygood
+0.15%
Merge branch 'arbitrary-cli-overrides' of https://github.com/AlexWaygood/ruff into arbitrary-cli-overrides
18da11b
2 years ago
by AlexWaygood
0%
``
0b0917b
2 years ago
by AlexWaygood
+0.03%
Merge branch 'arbitrary-cli-overrides' of https://github.com/AlexWaygood/ruff into arbitrary-cli-overrides
c6019f7
2 years ago
by AlexWaygood
-0.03%
regen docs
bb2e6ee
2 years ago
by AlexWaygood
+9.82%
Use `insta-filters` for the tests where the tempdir path is included in the output
7739440
2 years ago
by AlexWaygood
-0.38%
Multiline tips instead of multiple tips
88e7273
2 years ago
by AlexWaygood
-0.16%
Make more concise
bccab4e
2 years ago
by AlexWaygood
+0.69%
Differentiate between TOML syntax errors and valid TOML that we don't know what to do with
6eea797
2 years ago
by AlexWaygood
+19.28%
Address Charlie's docs review
983e5aa
2 years ago
by AlexWaygood
-0.1%
Add a transitional sentence
789d1d0
2 years ago
by AlexWaygood
-29.34%
Merge branch 'main' into arbitrary-cli-overrides
0f8a583
2 years ago
by AlexWaygood
© 2026 CodSpeed Technology
Home Terms Privacy Docs