Skip to content

Conversation

@MeGaGiGaGon
Copy link
Contributor

Summary

Part of #18972

This PR makes invalid-envvar-value (PLE1507)'s example error out-of-the-box.

Old example

os.getenv(1)

New example

import os

os.getenv(1)

The "Use instead" section was also updated similarly.

Test Plan

N/A, no functionality/tests affected

@github-actions
Copy link
Contributor

ruff-ecosystem results

Linter (stable)

✅ ecosystem check detected no linter changes.

Linter (preview)

✅ ecosystem check detected no linter changes.

@dylwil3 dylwil3 merged commit 7154b64 into astral-sh:main Jul 11, 2025
35 checks passed
@dylwil3 dylwil3 added the documentation Improvements or additions to documentation label Jul 11, 2025
@MeGaGiGaGon MeGaGiGaGon deleted the patch-3 branch July 11, 2025 21:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants