What's Changed
Bug Fixes
- PYI011: allow
math
constants in defaults by @XuehaiPan in #3484 - Remove erroneous C4-to-C40 redirect by @charliermarsh in #3488
- fix lack of
not
in error message by @Czaki in #3497 - Ensure that redirect warnings appear exactly once per code by @charliermarsh in #3500
- Allow f-strings and concatenations in os.getenv by @charliermarsh in #3516
- Allow string percent formatting in os.getenv by @charliermarsh in #3518
- Refine complexity rules for try-except-else-finally by @charliermarsh in #3519
- Replicate inline comments when splitting single-line imports by @charliermarsh in #3521
- Avoid PEP 604 isinstance errors for starred tuples by @charliermarsh in #3527
- Avoid tracking as-imports separately with force-single-line by @charliermarsh in #3530
- Fix PYI011 and add auto-fix by @JonathanPlasse in #3492
- Avoid PEP 604 panic with empty tuple by @charliermarsh in #3526
- Add last remaining deprecated typing imports by @charliermarsh in #3529
- Avoid unused argument violations in .pyi files by @charliermarsh in #3533
Other Changes
- Include individual path checks in --verbose logging by @charliermarsh in #3489
- Allow
# ruff:
prefix for isort action comments by @charliermarsh in #3493
Full Changelog: v0.0.255...v0.0.256