ruff/crates/ruff_linter
GiGaGon 7154b64248
[`pylint`] Make example error out-of-the-box (`PLE1507`) (#19288)
## Summary

Part of #18972

This PR makes [invalid-envvar-value
(PLE1507)](https://docs.astral.sh/ruff/rules/invalid-envvar-value/#invalid-envvar-value-ple1507)'s
example error out-of-the-box.

[Old example](https://play.ruff.rs/a46a9bca-edd5-4474-b20d-e6b6d87291ca)
```py
os.getenv(1)
```

[New example](https://play.ruff.rs/8348d32d-71fa-422c-b228-e2bc343765b1)
```py
import os

os.getenv(1)
```

The "Use instead" section was also updated similarly.

## Test Plan

<!-- How was it tested? -->

N/A, no functionality/tests affected
2025-07-11 16:08:47 -05:00
..
resources [`flake8_django`] Fix DJ008 false positive for abstract models with type-annotated `abstract` field (#19221) 2025-07-11 16:50:59 +00:00
src [`pylint`] Make example error out-of-the-box (`PLE1507`) (#19288) 2025-07-11 16:08:47 -05:00
Cargo.toml Bump 0.12.3 (#19279) 2025-07-11 09:07:50 -04:00