Skip to content

Clarify that strict mode enables selected optional error checking flags - #22058

Merged
hauntsaninja merged 2 commits into
python:masterfrom
inchang-ing:issue-22057-strict-docs
Sep 29, 2026
Merged

hauntsaninja merged 2 commits into
python:masterfrom
inchang-ing:issue-22057-strict-docs

Conversation

@inchang-ing

Copy link
Copy Markdown
Contributor

Fixes #22057

The confval::strict description in docs/source/config_file.rst claimed
that strict mode enables "all optional error checking flags", but several
optional flags (e.g. --enable-error-code=ignore-without-code) are not part
of strict mode. This changes the wording to "selected optional error checking
flags", as suggested in the issue; the follow-up sentence noting that the
exact list may change over time already covered the imprecision partially.

Docs-only change, no code or behaviour affected.

Comment thread docs/source/config_file.rst Outdated

@hauntsaninja hauntsaninja left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Thank you!

@hauntsaninja
hauntsaninja merged commit 1a45221 into python:master Sep 29, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

HTML docs say --strict "[e]nable[s] all optional error checking flags"; it does not

2 participants