BlogDocs

Allow arbitrary configuration options to be overridden via the CLI(#9599)

Merged
Merging
AlexWaygood:arbitrary-cli-overrides
(
0f8a583
) into
main
(
d387d0b
)
0%
IMPROVEMENTS
0
REGRESSIONS
0
UNTOUCHED
30
NEW
0
DROPPED
0
IGNORED
0

Benchmarks

Passed

parser[numpy/ctypeslib.py]
crates/ruff_benchmark/benches/parser.rs::parser::benchmark_parser::parser[numpy/ctypeslib.py]
0%
2 ms
2 ms
formatter[unicode/pypinyin.py]
crates/ruff_benchmark/benches/formatter.rs::formatter::benchmark_formatter::formatter[unicode/pypinyin.py]
0%
688.4 µs
688.3 µs
formatter[numpy/globals.py]
crates/ruff_benchmark/benches/formatter.rs::formatter::benchmark_formatter::formatter[numpy/globals.py]
0%
268.3 µs
268.3 µs
linter/default-rules[unicode/pypinyin.py]
crates/ruff_benchmark/benches/linter.rs::default_rules::benchmark_default_rules::linter/default-rules[unicode/pypinyin.py]
0%
384.5 µs
384.5 µs
linter/default-rules[numpy/ctypeslib.py]
crates/ruff_benchmark/benches/linter.rs::default_rules::benchmark_default_rules::linter/default-rules[numpy/ctypeslib.py]
0%
969.7 µs
969.7 µs
formatter[pydantic/types.py]
crates/ruff_benchmark/benches/formatter.rs::formatter::benchmark_formatter::formatter[pydantic/types.py]
0%
3.7 ms
3.7 ms
linter/all-rules[numpy/ctypeslib.py]
crates/ruff_benchmark/benches/linter.rs::all_rules::benchmark_all_rules::linter/all-rules[numpy/ctypeslib.py]
0%
4 ms
4 ms
formatter[numpy/ctypeslib.py]
crates/ruff_benchmark/benches/formatter.rs::formatter::benchmark_formatter::formatter[numpy/ctypeslib.py]
0%
2 ms
2 ms
linter/default-rules[numpy/globals.py]
crates/ruff_benchmark/benches/linter.rs::default_rules::benchmark_default_rules::linter/default-rules[numpy/globals.py]
0%
190.9 µs
190.9 µs
linter/default-rules[large/dataset.py]
crates/ruff_benchmark/benches/linter.rs::default_rules::benchmark_default_rules::linter/default-rules[large/dataset.py]
0%
3.9 ms
3.9 ms
lexer[large/dataset.py]
crates/ruff_benchmark/benches/lexer.rs::lexer::benchmark_lexer::lexer[large/dataset.py]
0%
1.4 ms
1.4 ms
lexer[numpy/globals.py]
crates/ruff_benchmark/benches/lexer.rs::lexer::benchmark_lexer::lexer[numpy/globals.py]
0%
36.4 µs
36.4 µs
lexer[unicode/pypinyin.py]
crates/ruff_benchmark/benches/lexer.rs::lexer::benchmark_lexer::lexer[unicode/pypinyin.py]
0%
97.9 µs
97.9 µs
parser[large/dataset.py]
crates/ruff_benchmark/benches/parser.rs::parser::benchmark_parser::parser[large/dataset.py]
0%
11.4 ms
11.4 ms
linter/all-with-preview-rules[numpy/globals.py]
crates/ruff_benchmark/benches/linter.rs::preview_rules::benchmark_preview_rules::linter/all-with-preview-rules[numpy/globals.py]
0%
767.2 µs
767.2 µs
formatter[large/dataset.py]
crates/ruff_benchmark/benches/formatter.rs::formatter::benchmark_formatter::formatter[large/dataset.py]
0%
9.7 ms
9.7 ms
parser[pydantic/types.py]
crates/ruff_benchmark/benches/parser.rs::parser::benchmark_parser::parser[pydantic/types.py]
0%
4.5 ms
4.5 ms
linter/all-rules[large/dataset.py]
crates/ruff_benchmark/benches/linter.rs::all_rules::benchmark_all_rules::linter/all-rules[large/dataset.py]
0%
16.1 ms
16.1 ms
linter/all-rules[pydantic/types.py]
crates/ruff_benchmark/benches/linter.rs::all_rules::benchmark_all_rules::linter/all-rules[pydantic/types.py]
0%
7.9 ms
7.9 ms
linter/default-rules[pydantic/types.py]
crates/ruff_benchmark/benches/linter.rs::default_rules::benchmark_default_rules::linter/default-rules[pydantic/types.py]
0%
1.9 ms
1.9 ms
linter/all-with-preview-rules[numpy/ctypeslib.py]
crates/ruff_benchmark/benches/linter.rs::preview_rules::benchmark_preview_rules::linter/all-with-preview-rules[numpy/ctypeslib.py]
0%
4.6 ms
4.6 ms
lexer[pydantic/types.py]
crates/ruff_benchmark/benches/lexer.rs::lexer::benchmark_lexer::lexer[pydantic/types.py]
0%
643.8 µs
643.8 µs
linter/all-with-preview-rules[pydantic/types.py]
crates/ruff_benchmark/benches/linter.rs::preview_rules::benchmark_preview_rules::linter/all-with-preview-rules[pydantic/types.py]
0%
9.4 ms
9.4 ms
linter/all-rules[numpy/globals.py]
crates/ruff_benchmark/benches/linter.rs::all_rules::benchmark_all_rules::linter/all-rules[numpy/globals.py]
0%
681.9 µs
682 µs
parser[unicode/pypinyin.py]
crates/ruff_benchmark/benches/parser.rs::parser::benchmark_parser::parser[unicode/pypinyin.py]
0%
772.3 µs
772.3 µs
linter/all-with-preview-rules[unicode/pypinyin.py]
crates/ruff_benchmark/benches/linter.rs::preview_rules::benchmark_preview_rules::linter/all-with-preview-rules[unicode/pypinyin.py]
0%
2.5 ms
2.5 ms
linter/all-rules[unicode/pypinyin.py]
crates/ruff_benchmark/benches/linter.rs::all_rules::benchmark_all_rules::linter/all-rules[unicode/pypinyin.py]
0%
2.2 ms
2.2 ms
lexer[numpy/ctypeslib.py]
crates/ruff_benchmark/benches/lexer.rs::lexer::benchmark_lexer::lexer[numpy/ctypeslib.py]
0%
285.9 µs
285.9 µs
parser[numpy/globals.py]
crates/ruff_benchmark/benches/parser.rs::parser::benchmark_parser::parser[numpy/globals.py]
0%
228.7 µs
228.8 µs
linter/all-with-preview-rules[large/dataset.py]
crates/ruff_benchmark/benches/linter.rs::preview_rules::benchmark_preview_rules::linter/all-with-preview-rules[large/dataset.py]
0%
18.4 ms
18.5 ms

Commits

Click on a commit to change the comparison range
base
main
d387d0b
0%
i can spell
3cdbec7
9 months ago
by AlexWaygood
0%
Fix a couple build/test failures
0f2cc2c
9 months ago
by AlexWaygood
+1%
Just pass a `Vec` to `from_cli_options`
7bb72f5
9 months ago
by AlexWaygood
0%
Misc review comments
e7a1d89
8 months ago
by AlexWaygood
0%
More docs cleanup
7c05cd5
8 months ago
by AlexWaygood
0%
use an `Arc`
26b7dc8
8 months ago
by AlexWaygood
0%
Use `clap` a little more for slightly prettier errors
59e6e0a
8 months ago
by AlexWaygood
0%
Merge branch 'main' into arbitrary-cli-overrides
f33e91e
8 months ago
by AlexWaygood
0%
regen docs
cd6b4ce
8 months ago
by AlexWaygood
-23%
Improve error messages
3fb5d21
8 months ago
by AlexWaygood
+23%
Merge branch 'main' into arbitrary-cli-overrides
d6a18fe
8 months ago
by AlexWaygood
0%
Add tests for some failure cases
8379890
8 months ago
by AlexWaygood
0%
Also test the formatter
366cd1b
8 months ago
by AlexWaygood
0%
Many more tests
2583136
8 months ago
by AlexWaygood
0%
spelling
981210c
8 months ago
by AlexWaygood
0%
Simplify some code
3bfcae2
8 months ago
by AlexWaygood
0%
cargo fmt
aca4af5
8 months ago
by AlexWaygood
0%
couple more tests
446517b
8 months ago
by AlexWaygood
0%
Docs
c39fbd6
8 months ago
by AlexWaygood
0%
add a newline Co-authored-by: Micha Reiser <micha@reiser.io>
d771243
8 months ago
by AlexWaygood
0%
Fix compile; address more Micha comments
be48c4f
8 months ago
by AlexWaygood
0%
Return `&Path` from `config_file()`
1cc613c
8 months ago
by AlexWaygood
0%
Improve docs for `--config`
c12bb11
8 months ago
by AlexWaygood
0%
regen docs
a880691
8 months ago
by AlexWaygood
0%
Delete `Configuration::transform()`
59e07c3
8 months ago
by AlexWaygood
0%
Rename the enum and its variants
7ec9e8a
8 months ago
by AlexWaygood
0%
More consistent naming for arguments that take instances of `ConfigArguments`
de846ba
8 months ago
by AlexWaygood
0%
Better dev docs for the `ConfigArguments` struct
893f214
8 months ago
by AlexWaygood
0%
cargo fmt
b12a9c7
8 months ago
by AlexWaygood
0%
Don't return `clap::Error` after the initial argument-parsing phase
1501eeb
8 months ago
by AlexWaygood
0%
Merge branch 'main' into arbitrary-cli-overrides
e39aa39
8 months ago
by AlexWaygood
0%
Merge branch 'main' into arbitrary-cli-overrides
e1a3328
8 months ago
by AlexWaygood
0%
Fixup some issues after merging in `main`
d83cfa5
8 months ago
by AlexWaygood
0%
Fix remaining test failures
138c6c3
8 months ago
by AlexWaygood
0%
Merge branch 'main' into arbitrary-cli-overrides
e500b39
8 months ago
by AlexWaygood
0%
Merge branch 'arbitrary-cli-overrides' of https://github.com/AlexWaygood/ruff into arbitrary-cli-overrides
18da11b
8 months ago
by AlexWaygood
0%
`` Co-authored-by: Zanie Blue <contact@zanie.dev>
0b0917b
8 months ago
by AlexWaygood
0%
Merge branch 'arbitrary-cli-overrides' of https://github.com/AlexWaygood/ruff into arbitrary-cli-overrides
c6019f7
8 months ago
by AlexWaygood
0%
regen docs
bb2e6ee
8 months ago
by AlexWaygood
+10%
Use `insta-filters` for the tests where the tempdir path is included in the output
7739440
8 months ago
by AlexWaygood
0%
Multiline tips instead of multiple tips
88e7273
8 months ago
by AlexWaygood
0%
Make more concise
bccab4e
8 months ago
by AlexWaygood
+1%
Differentiate between TOML syntax errors and valid TOML that we don't know what to do with
6eea797
8 months ago
by AlexWaygood
+19%
Address Charlie's docs review
983e5aa
8 months ago
by AlexWaygood
0%
Add a transitional sentence
789d1d0
8 months ago
by AlexWaygood
-29%
Merge branch 'main' into arbitrary-cli-overrides
0f8a583
8 months ago
by AlexWaygood
ResourcesHomePricingDocsBlogGitHubChangelog