-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Closed
Labels
documentationImprovements or additions to documentationImprovements or additions to documentationhelp wantedContributions especially welcomeContributions especially welcome
Description
Summary
The docs on this page are inaccurate: https://docs.astral.sh/ruff/rules/global-statement/
The two examples produce slightly different outputs.
The original example produces:
10
10
vs
1
10
The examples should produce identical output.
Note I spent some time trying to find where in the project those docs are produced, but unfortuntately wasn't able to find it quickly. So this report just references the url.
Version
No response
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentationImprovements or additions to documentationhelp wantedContributions especially welcomeContributions especially welcome