Skip to content

Fix line-length path in --config example - #28392

Merged
ntBre merged 1 commit into
astral-sh:mainfrom
The-Compiler:fix-line-length
Sep 8, 2026
Merged

ntBre merged 1 commit into
astral-sh:mainfrom
The-Compiler:fix-line-length

Conversation

@The-Compiler

Copy link
Copy Markdown
Contributor

line-length is a global option, not under lint.

This was introduced in #25013, after which #25389 attempted to fix it. However, that change was made in autogenerated docs only (instead of fixing it at the source), and thus the fix was undone again in #25396.

This instead fixes the issue in the source code, followed by a cargo dev generate-all.

line-length is a global option, not under `lint.`

This was introduced in astral-sh#25013, after which astral-sh#25389 attempted to fix it.
However, that change was made in autogenerated docs only (instead of fixing it
at the source), and thus the fix was undone again in astral-sh#25396.

This instead fixes the issue in the source code,
followed by a `cargo dev generate-all`.
@astral-sh-bot
astral-sh-bot Bot requested a review from ntBre September 7, 2026 15:18
@ntBre ntBre added the documentation Improvements or additions to public-facing documentation label Sep 8, 2026

@ntBre ntBre left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@ntBre ntBre changed the title Fix line length example in --help/docs Fix line-length path in --config example Sep 8, 2026
@astral-sh-bot

astral-sh-bot Bot commented Sep 8, 2026

Copy link
Copy Markdown

ruff-ecosystem results

Linter (stable)

βœ… ecosystem check detected no linter changes.

Linter (preview)

βœ… ecosystem check detected no linter changes.

@ntBre
ntBre merged commit d136bd8 into astral-sh:main Sep 8, 2026
50 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to public-facing documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants