ruff/crates/ruff_workspace/src
Thomas M Kehrenberg e708c08b64
Fix default for max-positional-args (#9838)
<!--
Thank you for contributing to Ruff! To help us out with reviewing,
please consider the following:

- Does this pull request include a summary of the change? (See below.)
- Does this pull request include a descriptive title?
- Does this pull request include references to any relevant issues?
-->

## Summary
`max-positional-args` defaults to `max-args` if it's not specified and
the default to `max-args` is 5, so saying that the default is 3 is
definitely wrong. Ideally, we wouldn't specify a default at all for this
config option, but I don't think that's possible?

<!-- What's the purpose of the change? What does it do, and why? -->

## Test Plan

<!-- How was it tested? -->
Not sure.
2024-02-05 16:58:14 +00:00
..
configuration.rs Deduplicate deprecation warnings for v0.2.0 release (#9764) 2024-02-01 17:10:24 -06:00
lib.rs Add most formatter options to ruff.toml / pyproject.toml (#7566) 2023-09-22 15:47:57 +00:00
options.rs Fix default for max-positional-args (#9838) 2024-02-05 16:58:14 +00:00
options_base.rs Add deprecation message for top-level lint settings (#9582) 2024-02-01 13:35:02 -06:00
pyproject.rs Add paths to toml parse errors (#9358) 2024-01-02 11:56:51 -05:00
resolver.rs Deduplicate deprecation warnings for v0.2.0 release (#9764) 2024-02-01 17:10:24 -06:00
settings.rs Replace --show-source and --no-show-source with --output_format=<full|concise> (#9687) 2024-02-01 13:35:02 -06:00