chore(deps): update patch updates
Metadata
Current evaluation
Merged automated patch dependency updates via Renovate. Updated PyYAML, click, codespell, distlib, jsonschema, ruff, types-Deprecated, types-PyYAML, and zipp to latest patch versions. CI passed and changes were automerged.
Suggested action: —
No scores available.
Issue body
[](https://renovatebot.com)
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [PyYAML](https://pyyaml.org/) ([source](https://togithub.com/yaml/pyyaml)) | `==6.0` -> `==6.0.1` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) |
| [click](https://palletsprojects.com/p/click/) ([changelog](https://click.palletsprojects.com/changes/)) | `==8.1.4` -> `==8.1.6` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) |
| [codespell](https://togithub.com/codespell-project/codespell) | `2.2.4` -> `2.2.5` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) |
| [distlib](https://togithub.com/pypa/distlib) | `==0.3.6` -> `==0.3.7` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) |
| [jsonschema](https://togithub.com/python-jsonschema/jsonschema) ([changelog](https://togithub.com/python-jsonschema/jsonschema/blob/main/CHANGELOG.rst)) | `==4.18.0` -> `==4.18.4` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) |
| [ruff](https://beta.ruff.rs/docs) ([source](https://togithub.com/astral-sh/ruff), [changelog](https://togithub.com/astral-sh/ruff/releases)) | `0.0.261` -> `0.0.280` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) |
| [types-Deprecated](https://togithub.com/python/typeshed) ([changelog](https://togithub.com/typeshed-internal/stub_uploader/blob/main/data/changelogs/Deprecated.md)) | `==1.2.9.2` -> `==1.2.9.3` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) |
| [types-PyYAML](https://togithub.com/python/typeshed) ([changelog](https://togithub.com/typeshed-internal/stub_uploader/blob/main/data/changelogs/PyYAML.md)) | `==6.0.12.10` -> `==6.0.12.11` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) |
| [zipp](https://togithub.com/jaraco/zipp) | `==3.16.0` -> `==3.16.2` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) |
---
### Release Notes
<details>
<summary>yaml/pyyaml (PyYAML)</summary>
### [`v6.0.1`](https://togithub.com/yaml/pyyaml/compare/6.0...6.0.1)
[Compare Source](https://togithub.com/yaml/pyyaml/compare/6.0...6.0.1)
</details>
<details>
<summary>codespell-project/codespell (codespell)</summary>
### [`v2.2.5`](https://togithub.com/codespell-project/codespell/releases/tag/v2.2.5)
[Compare Source](https://togithub.com/codespell-project/codespell/compare/v2.2.4...v2.2.5)
#### What's Changed
- Add fixing consciousely typo by [@​yarikoptic](https://togithub.com/yarikoptic) in [https://github.com/codespell-project/codespell/pull/2777](https://togithub.com/codespell-project/codespell/pull/2777)
- atalog typo (saw twice in a project) by [@​yarikoptic](https://togithub.com/yarikoptic) in [https://github.com/codespell-project/codespell/pull/2782](https://togithub.com/codespell-project/codespell/pull/2782)
- created fstrings by [@​marksmayo](https://togithub.com/marksmayo) in [https://github.com/codespell-project/codespell/pull/2784](https://togithub.com/codespell-project/codespell/pull/2784)
- Replace bandit, isort, pylint, pyupgrade, and flake8 plus plugins with ruff by [@​cclauss](https://togithub.com/cclauss) in [https://github.com/codespell-project/codespell/pull/2779](https://togithub.com/codespell-project/codespell/pull/2779)
- Add Microsoft Mispelling by [@​Casey-Kiewit](https://togithub.com/Casey-Kiewit) in [https://github.com/codespell-project/codespell/pull/2789](https://togithub.com/codespell-project/codespell/pull/2789)
- Use Latest Version In README Pre-Commit Example by [@​Casey-Kiewit](https://togithub.com/Casey-Kiewit) in [https://github.com/codespell-project/codespell/pull/2788](https://togithub.com/codespell-project/codespell/pull/2788)
- ruff: Use format specifiers instead of percent format by [@​cclauss](https://togithub.com/cclauss) in [https://github.com/codespell-project/codespell/pull/2787](https://togithub.com/codespell-project/codespell/pull/2787)
- New typos by [@​gforcada](https://togithub.com/gforcada) in [https://github.com/codespell-project/codespell/pull/2793](https://togithub.com/codespell-project/codespell/pull/2793)
- Ruff: Ignore new rule PLC1901 by [@​cclauss](https://togithub.com/cclauss) in [https://github.com/codespell-project/codespell/pull/2797](https://togithub.com/codespell-project/codespell/pull/2797)
- Add various typo fixes by [@​luzpaz](https://togithub.com/luzpaz) in [https://github.com/codespell-project/codespell/pull/2795](https://togithub.com/codespell-project/codespell/pull/2795)
- Another suggestion by [@​gforcada](https://togithub.com/gforcada) in [https://github.com/codespell-project/codespell/pull/2798](https://togithub.com/codespell-project/codespell/pull/2798)
- Fix AssertionError when opening with chardet by [@​n-thumann](https://togithub.com/n-thumann) in [https://github.com/codespell-project/codespell/pull/2785](https://togithub.com/codespell-project/codespell/pull/2785)
- Fix typo (and variants) from xxHash by [@​DimitriPapadopoulos](https://togithub.com/DimitriPapadopoulos) in [https://github.com/codespell-project/codespell/pull/2761](https://togithub.com/codespell-project/codespell/pull/2761)
- Add `huld`->`hold` Spelling Mistake by [@​Casey-Kiewit](https://togithub.com/Casey-Kiewit) in [https://github.com/codespell-project/codespell/pull/2792](https://togithub.com/codespell-project/codespell/pull/2792)
- Fix CI issues by [@​DimitriPapadopoulos](https://togithub.com/DimitriPapadopoulos) in [https://github.com/codespell-project/codespell/pull/2796](https://togithub.com/codespell-project/codespell/pull/2796)
- CI: fix new ruff error B028 by [@​DimitriPapadopoulos](https://togithub.com/DimitriPapadopoulos) in [https://github.com/codespell-project/codespell/pull/2802](https://togithub.com/codespell-project/codespell/pull/2802)
- Skip subdirectories of hidden directories by [@​DimitriPapadopoulos](https://togithub.com/DimitriPapadopoulos) in [https://github.com/codespell-project/codespell/pull/2541](https://togithub.com/codespell-project/codespell/pull/2541)
- Add tweek(s)->tweak(s) correction by [@​cfi-gb](https://togithub.com/cfi-gb) in [https://github.com/codespell-project/codespell/pull/2804](https://togithub.com/codespell-project/codespell/pull/2804)
- Add supoort->support by [@​thughes](https://togithub.com/thughes) in [https://github.com/codespell-project/codespell/pull/2806](https://togithub.com/codespell-project/codespell/pull/2806)
- Add Suggestion For `readded` Mispelling by [@​Casey-Kiewit](https://togithub.com/Casey-Kiewit) in [https://github.com/codespell-project/codespell/pull/2805](https://togithub.com/codespell-project/codespell/pull/2805)
- Add displaing->displaying by [@​peternewman](https://togithub.com/peternewman) in [https://github.com/codespell-project/codespell/pull/2808](https://togithub.com/codespell-project/codespell/pull/2808)
- Another suggestion for stati by [@​gforcada](https://togithub.com/gforcada) in [https://github.com/codespell-project/codespell/pull/2810](https://togithub.com/codespell-project/codespell/pull/2810)
- Add dimaond -> diamond by [@​Moiman](https://togithub.com/Moiman) in [https://github.com/codespell-project/codespell/pull/2813](https://togithub.com/codespell-project/codespell/pull/2813)
- Add vai->via, vie by [@​peternewman](https://togithub.com/peternewman) in [https://github.com/codespell-project/codespell/pull/2815](https://togithub.com/codespell-project/codespell/pull/2815)
- Remove invalid correction - Kwanza = currency of Angola by [@​DimitriPapadopoulos](https://togithub.com/DimitriPapadopoulos) in [https://github.com/codespell-project/codespell/pull/2803](https://togithub.com/codespell-project/codespell/pull/2803)
- sinoid and friends by [@​DimitriPapadopoulos](https://togithub.com/DimitriPapadopoulos) in [https://github.com/codespell-project/codespell/pull/2807](https://togithub.com/codespell-project/codespell/pull/2807)
- Add excludle->exclude by [@​peternewman](https://togithub.com/peternewman) in [https://github.com/codespell-project/codespell/pull/2814](https://togithub.com/codespell-project/codespell/pull/2814)
- Add gadjet->gadget and friend by [@​peternewman](https://togithub.com/peternewman) in [https://github.com/codespell-project/codespell/pull/2818](https://togithub.com/codespell-project/codespell/pull/2818)
- Add togueter->together by [@​luzpaz](https://togithub.com/luzpaz) in [https://github.com/codespell-project/codespell/pull/2821](https://togithub.com/codespell-project/codespell/pull/2821)
- Add "mutabl->mutable" by [@​sirosen](https://togithub.com/sirosen) in [https://github.com/codespell-project/codespell/pull/2822](https://togithub.com/codespell-project/codespell/pull/2822)
- Add containin->containing by [@​janosh](https://togithub.com/janosh) in [https://github.com/codespell-project/codespell/pull/2824](https://togithub.com/codespell-project/codespell/pull/2824)
- Add mandess->madness by [@​luzpaz](https://togithub.com/luzpaz) in [https://github.com/codespell-project/codespell/pull/2825](https://togithub.com/codespell-project/codespell/pull/2825)
- some fixes by [@​marksmayo](https://togithub.com/marksmayo) in [https://github.com/codespell-project/codespell/pull/2820](https://togithub.com/codespell-project/codespell/pull/2820)
- Fix new ruff errors reported by CI by [@​DimitriPapadopoulos](https://togithub.com/DimitriPapadopoulos) in [https://github.com/codespell-project/codespell/pull/2834](https://togithub.com/codespell-project/codespell/pull/2834)
- Add fusipn->fusion by [@​luzpaz](https://togithub.com/luzpaz) in [https://github.com/codespell-project/codespell/pull/2836](https://togithub.com/codespell-project/codespell/pull/2836)
- Add 'subcription->subscription' by [@​sirosen](https://togithub.com/sirosen) in [https://github.com/codespell-project/codespell/pull/2832](https://togithub.com/codespell-project/codespell/pull/2832)
- Add 'promtp->prompt' by [@​sirosen](https://togithub.com/sirosen) in [https://github.com/codespell-project/codespell/pull/2833](https://togithub.com/codespell-project/codespell/pull/2833)
- Add 'endpdoint' as a misspelling of 'endpoint' by [@​sirosen](https://togithub.com/sirosen) in [https://github.com/codespell-project/codespell/pull/2830](https://togithub.com/codespell-project/codespell/pull/2830)
- Add more misspellings of 'identities' by [@​sirosen](https://togithub.com/sirosen) in [https://github.com/codespell-project/codespell/pull/2829](https://togithub.com/codespell-project/codespell/pull/2829)
- Friends of existing typos by [@​DimitriPapadopoulos](https://togithub.com/DimitriPapadopoulos) in [https://github.com/codespell-project/codespell/pull/2837](https://togithub.com/codespell-project/codespell/pull/2837)
- Fix [`66ec667`](https://togithub.com/codespell-project/codespell/commit/66ec667) by [@​DimitriPapadopoulos](https://togithub.com/DimitriPapadopoulos) in [https://github.com/codespell-project/codespell/pull/2838](https://togithub.com/codespell-project/codespell/pull/2838)
- equivallent and friends by [@​DimitriPapadopoulos](https://togithub.com/DimitriPapadopoulos) in [https://github.com/codespell-project/codespell/pull/2827](https://togithub.com/codespell-project/codespell/pull/2827)
- Add delpoys->deploys by [@​luzpaz](https://togithub.com/luzpaz) in [https://github.com/codespell-project/codespell/pull/2842](https://togithub.com/codespell-project/codespell/pull/2842)
- Added variations on 'difference' by [@​luzpaz](https://togithub.com/luzpaz) in [https://github.com/codespell-project/codespell/pull/2841](https://togithub.com/codespell-project/codespell/pull/2841)
- Add 'canoncical->canonical' by [@​sirosen](https://togithub.com/sirosen) in [https://github.com/codespell-project/codespell/pull/2831](https://togithub.com/codespell-project/codespell/pull/2831)
- Add additional typos by [@​kianmeng](https://togithub.com/kianmeng) in [https://github.com/codespell-project/codespell/pull/2835](https://togithub.com/codespell-project/codespell/pull/2835)
- Add spelling corrections for inject and variants. by [@​cfi-gb](https://togithub.com/cfi-gb) in [https://github.com/codespell-project/codespell/pull/2846](https://togithub.com/codespell-project/codespell/pull/2846)
- Add 'credentail->credential' by [@​sirosen](https://togithub.com/sirosen) in [https://github.com/codespell-project/codespell/pull/2844](https://togithub.com/codespell-project/codespell/pull/2844)
- Add 'requestor->requester' by [@​sirosen](https://togithub.com/sirosen) in [https://github.com/codespell-project/codespell/pull/2845](https://togithub.com/codespell-project/codespell/pull/2845)
- Update README.rst by [@​andyholmes](https://togithub.com/andyholmes) in [https://github.com/codespell-project/codespell/pull/2466](https://togithub.com/codespell-project/codespell/pull/2466)
- Add exrension(s)->extension(s) by [@​luzpaz](https://togithub.com/luzpaz) in [https://github.com/codespell-project/codespell/pull/2847](https://togithub.com/codespell-project/codespell/pull/2847)
- Add facttory->factory and facttories-> factories by [@​nils-van-zuijlen](https://togithub.com/nils-van-zuijlen) in [https://github.com/codespell-project/codespell/pull/2848](https://togithub.com/codespell-project/codespell/pull/2848)
- Add several spelling corrections by [@​luzpaz](https://togithub.com/luzpaz) in [https://github.com/codespell-project/codespell/pull/2849](https://togithub.com/codespell-project/codespell/pull/2849)
- Add comtaining->containing by [@​nils-van-zuijlen](https://togithub.com/nils-van-zuijlen) in [https://github.com/codespell-project/codespell/pull/2855](https://togithub.com/codespell-project/codespell/pull/2855)
- topoplogical and friends by [@​DimitriPapadopoulos](https://togithub.com/DimitriPapadopoulos) in [https://github.com/codespell-project/codespell/pull/2854](https://togithub.com/codespell-project/codespell/pull/2854)
- Add placehoulder->placeholder by [@​sirosen](https://togithub.com/sirosen) in [https://github.com/codespell-project/codespell/pull/2856](https://togithub.com/codespell-project/codespell/pull/2856)
- More typos from GlobalProtect-openconnect by [@​DimitriPapadopoulos](https://togithub.com/DimitriPapadopoulos) in [https://github.com/codespell-project/codespell/pull/2850](https://togithub.com/codespell-project/codespell/pull/2850)
- Add spelling correction for siver->silver/sliver/diver by [@​cfi-gb](https://togithub.com/cfi-gb) in [https://github.com/codespell-project/codespell/pull/2858](https://togithub.com/codespell-project/codespell/pull/2858)
- Add assertino->assertion by [@​sourcefrog](https://togithub.com/sourcefrog) in [https://github.com/codespell-project/codespell/pull/2859](https://togithub.com/codespell-project/codespell/pull/2859)
- add notority->notoriety by [@​EdwardBetts](https://togithub.com/EdwardBetts) in [https://github.com/codespell-project/codespell/pull/2861](https://togithub.com/codespell-project/codespell/pull/2861)
- Misspellings from eLabFTW by [@​DimitriPapadopoulos](https://togithub.com/DimitriPapadopoulos) in [https://github.com/codespell-project/codespell/pull/2863](https://togithub.com/codespell-project/codespell/pull/2863)
- Add `invirant{,s}->invariant{,s}` by [@​ojeda](https://togithub.com/ojeda) in [https://github.com/codespell-project/codespell/pull/2870](https://togithub.com/codespell-project/codespell/pull/2870)
- Add `alloccat*->allocat*` by [@​ojeda](https://togithub.com/ojeda) in [https://github.com/codespell-project/codespell/pull/2869](https://togithub.com/codespell-project/codespell/pull/2869)
- Add "multiply"/"multiplies" variations to instances of "multiple" by [@​jdufresne](https://togithub.com/jdufresne) in [https://github.com/codespell-project/codespell/pull/2872](https://togithub.com/codespell-project/codespell/pull/2872)
- Add strin->string and optiona->optional by [@​peternewman](https://togithub.com/peternewman) in [https://github.com/codespell-project/codespell/pull/2817](https://togithub.com/codespell-project/codespell/pull/2817)
- Add wellplate -> well plate by [@​claydugo](https://togithub.com/claydugo) in [https://github.com/codespell-project/codespell/pull/2873](https://togithub.com/codespell-project/codespell/pull/2873)
- Add `afile` Misspelling by [@​Casey-Kiewit](https://togithub.com/Casey-Kiewit) in [https://github.com/codespell-project/codespell/pull/2876](https://togithub.com/codespell-project/codespell/pull/2876)
- Ignore 'misspellings' due to string escapes by [@​Zac-HD](https://togithub.com/Zac-HD) in [https://github.com/codespell-project/codespell/pull/2875](https://togithub.com/codespell-project/codespell/pull/2875)
- Add `pre-poulate` Misspellings by [@​Casey-Kiewit](https://togithub.com/Casey-Kiewit) in [https://github.com/codespell-project/codespell/pull/2878](https://togithub.com/codespell-project/codespell/pull/2878)
#### New Contributors
- [@​marksmayo](https://togithub.com/marksmayo) made their first contribution in [https://github.com/codespell-project/codespell/pull/2784](https://togithub.com/codespell-project/codespell/pull/2784)
- [@​Casey-Kiewit](https://togithub.com/Casey-Kiewit) made their first contribution in [https://github.com/codespell-project/codespell/pull/2789](https://togithub.com/codespell-project/codespell/pull/2789)
- [@​gforcada](https://togithub.com/gforcada) made their first contribution in [https://github.com/codespell-project/codespell/pull/2793](https://togithub.com/codespell-project/codespell/pull/2793)
- [@​n-thumann](https://togithub.com/n-thumann) made their first contribution in [https://github.com/codespell-project/codespell/pull/2785](https://togithub.com/codespell-project/codespell/pull/2785)
- [@​Moiman](https://togithub.com/Moiman) made their first contribution in [https://github.com/codespell-project/codespell/pull/2813](https://togithub.com/codespell-project/codespell/pull/2813)
- [@​sirosen](https://togithub.com/sirosen) made their first contribution in [https://github.com/codespell-project/codespell/pull/2822](https://togithub.com/codespell-project/codespell/pull/2822)
- [@​andyholmes](https://togithub.com/andyholmes) made their first contribution in [https://github.com/codespell-project/codespell/pull/2466](https://togithub.com/codespell-project/codespell/pull/2466)
- [@​nils-van-zuijlen](https://togithub.com/nils-van-zuijlen) made their first contribution in [https://github.com/codespell-project/codespell/pull/2848](https://togithub.com/codespell-project/codespell/pull/2848)
- [@​sourcefrog](https://togithub.com/sourcefrog) made their first contribution in [https://github.com/codespell-project/codespell/pull/2859](https://togithub.com/codespell-project/codespell/pull/2859)
- [@​ojeda](https://togithub.com/ojeda) made their first contribution in [https://github.com/codespell-project/codespell/pull/2870](https://togithub.com/codespell-project/codespell/pull/2870)
- [@​claydugo](https://togithub.com/claydugo) made their first contribution in [https://github.com/codespell-project/codespell/pull/2873](https://togithub.com/codespell-project/codespell/pull/2873)
- [@​Zac-HD](https://togithub.com/Zac-HD) made their first contribution in [https://github.com/codespell-project/codespell/pull/2875](https://togithub.com/codespell-project/codespell/pull/2875)
**Full Changelog**: https://github.com/codespell-project/codespell/compare/v2.2.4...v2.2.5
</details>
<details>
<summary>pypa/distlib (distlib)</summary>
### [`v0.3.7`](https://togithub.com/pypa/distlib/compare/0.3.6...0.3.7)
[Compare Source](https://togithub.com/pypa/distlib/compare/0.3.6...0.3.7)
</details>
<details>
<summary>python-jsonschema/jsonschema (jsonschema)</summary>
### [`v4.18.4`](https://togithub.com/python-jsonschema/jsonschema/blob/HEAD/CHANGELOG.rst#v4184)
[Compare Source](https://togithub.com/python-jsonschema/jsonschema/compare/v4.18.3...v4.18.4)
\=======
- Improve the hashability of wrapped referencing exceptions when they contain hashable data.
### [`v4.18.3`](https://togithub.com/python-jsonschema/jsonschema/blob/HEAD/CHANGELOG.rst#v4183)
[Compare Source](https://togithub.com/python-jsonschema/jsonschema/compare/v4.18.2...v4.18.3)
\=======
- Properly preserve `applicable_validators` in extended validators.
Specifically, validators extending early drafts where siblings of `$ref` were ignored will properly ignore siblings in the extended validator.
### [`v4.18.2`](https://togithub.com/python-jsonschema/jsonschema/blob/HEAD/CHANGELOG.rst#v4182)
[Compare Source](https://togithub.com/python-jsonschema/jsonschema/compare/v4.18.1...v4.18.2)
\=======
- Fix an additional regression with the deprecated `jsonschema.RefResolver` and pointer resolution.
### [`v4.18.1`](https://togithub.com/python-jsonschema/jsonschema/blob/HEAD/CHANGELOG.rst#v4181)
[Compare Source](https://togithub.com/python-jsonschema/jsonschema/compare/v4.18.0...v4.18.1)
\=======
- Fix a regression with `jsonschema.RefResolver` based resolution when used in combination with a custom validation dialect (via `jsonschema.validators.create`).
</details>
<details>
<summary>astral-sh/ruff (ruff)</summary>
### [`v0.0.280`](https://togithub.com/astral-sh/ruff/releases/tag/v0.0.280)
[Compare Source](https://togithub.com/astral-sh/ruff/compare/v0.0.279...v0.0.280)
<!-- Release notes generated using configuration in .github/release.yml at v0.0.280 -->
#### What's Changed
##### Bug Fixes
- Avoid collapsing `elif` and `else` branches during import sorting by [@​charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/astral-sh/ruff/pull/5964](https://togithub.com/astral-sh/ruff/pull/5964)
**Full Changelog**: https://github.com/astral-sh/ruff/compare/v0.0.279...v0.0.280
### [`v0.0.279`](https://togithub.com/astral-sh/ruff/releases/tag/v0.0.279)
[Compare Source](https://togithub.com/astral-sh/ruff/compare/v0.0.278...v0.0.279)
<!-- Release notes generated using configuration in .github/release.yml at v0.0.279 -->
#### What's Changed
##### Rules
- \[`flake8-pyi`] Implement flake8-pyi's PYI026 by [@​LaBatata101](https://togithub.com/LaBatata101) in [https://github.com/astral-sh/ruff/pull/5844](https://togithub.com/astral-sh/ruff/pull/5844)
- \[`flake8-pyi`] Implement flake8-pyi's `PYI017` by [@​qdegraaf](https://togithub.com/qdegraaf) in [https://github.com/astral-sh/ruff/pull/5895](https://togithub.com/astral-sh/ruff/pull/5895)
- \[`flake8-pyi`] Implement flake8-pyi's `PYI036` by [@​density](https://togithub.com/density) in [https://github.com/astral-sh/ruff/pull/5668](https://togithub.com/astral-sh/ruff/pull/5668)
- \[`flake8-pyi`] Implement flake8-pyi's `PYI041` by [@​density](https://togithub.com/density) in [https://github.com/astral-sh/ruff/pull/5722](https://togithub.com/astral-sh/ruff/pull/5722)
- \[`flake8-use-pathlib`] Implement `os-path-getsize` and `os-path-get(a|m|c)-time` (`PTH202-205`) by [@​sbrugman](https://togithub.com/sbrugman) in [https://github.com/astral-sh/ruff/pull/5835](https://togithub.com/astral-sh/ruff/pull/5835)
- \[`flake8-use-pathlib`] Implement `path-constructor-default-argument` (`PTH201`) by [@​sbrugman](https://togithub.com/sbrugman) in [https://github.com/astral-sh/ruff/pull/5833](https://togithub.com/astral-sh/ruff/pull/5833)
- \[`pandas-vet`] Implement constant series rule (`PD101`) by [@​sbrugman](https://togithub.com/sbrugman) in [https://github.com/astral-sh/ruff/pull/5802](https://togithub.com/astral-sh/ruff/pull/5802)
- \[`pylint`] Implement Pylint's `consider-using-in` (`PLR1714`) by [@​tjkuson](https://togithub.com/tjkuson) in [https://github.com/astral-sh/ruff/pull/5193](https://togithub.com/astral-sh/ruff/pull/5193)
##### Rule changes
- \[`flake8-annotations`] Check for `Any` in other types for `ANN401` by [@​dhruvmanila](https://togithub.com/dhruvmanila) in [https://github.com/astral-sh/ruff/pull/5601](https://togithub.com/astral-sh/ruff/pull/5601)
- \[`flake8-bugbear`] Add autofix for B004 by [@​density](https://togithub.com/density) in [https://github.com/astral-sh/ruff/pull/5788](https://togithub.com/astral-sh/ruff/pull/5788)
- \[`flake8-bugbear`] Remove `B904`'s lowercase exemption by [@​charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/astral-sh/ruff/pull/5751](https://togithub.com/astral-sh/ruff/pull/5751)
- \[`flake8-use-pathlib`] extend PTH118 with `os.sep` by [@​sbrugman](https://togithub.com/sbrugman) in [https://github.com/astral-sh/ruff/pull/5935](https://togithub.com/astral-sh/ruff/pull/5935)
- \[`pyupgrade`] Expand scope of `quoted-annotation` rule (`UP037`) by [@​charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/astral-sh/ruff/pull/5766](https://togithub.com/astral-sh/ruff/pull/5766)
- \[`pyupgrade`] Extend PEP 604 rewrites to support some quoted annotations by [@​charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/astral-sh/ruff/pull/5725](https://togithub.com/astral-sh/ruff/pull/5725)
- \[`ruff`] Expand `RUF015` to include all expression types by [@​charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/astral-sh/ruff/pull/5767](https://togithub.com/astral-sh/ruff/pull/5767)
##### Bug Fixes
- Consider single element subscript expr for implicit optional by [@​dhruvmanila](https://togithub.com/dhruvmanila) in [https://github.com/astral-sh/ruff/pull/5717](https://togithub.com/astral-sh/ruff/pull/5717)
- Ignore `Enum`-and-`str` subclasses for slots enforcement by [@​charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/astral-sh/ruff/pull/5749](https://togithub.com/astral-sh/ruff/pull/5749)
- Avoid removing raw strings in comparison fixes by [@​charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/astral-sh/ruff/pull/5755](https://togithub.com/astral-sh/ruff/pull/5755)
- Fix nested calls to `sorted` with differing arguments by [@​density](https://togithub.com/density) in [https://github.com/astral-sh/ruff/pull/5761](https://togithub.com/astral-sh/ruff/pull/5761)
- Use unused variable detection to power `incorrect-dict-iterator` by [@​charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/astral-sh/ruff/pull/5763](https://togithub.com/astral-sh/ruff/pull/5763)
- Include alias when formatting import-from structs by [@​guillaumeLepape](https://togithub.com/guillaumeLepape) in [https://github.com/astral-sh/ruff/pull/5786](https://togithub.com/astral-sh/ruff/pull/5786)
- Make `lint_only` aware of the source kind by [@​dhruvmanila](https://togithub.com/dhruvmanila) in [https://github.com/astral-sh/ruff/pull/5876](https://togithub.com/astral-sh/ruff/pull/5876)
- Restore `redefined-while-unused` violations in classes by [@​charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/astral-sh/ruff/pull/5926](https://togithub.com/astral-sh/ruff/pull/5926)
- Flatten nested tuples when fixing UP007 violations by [@​charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/astral-sh/ruff/pull/5724](https://togithub.com/astral-sh/ruff/pull/5724)
- Ignore Jupyter Notebooks for `--add-noqa` by [@​dhruvmanila](https://togithub.com/dhruvmanila) in [https://github.com/astral-sh/ruff/pull/5727](https://togithub.com/astral-sh/ruff/pull/5727)
- Avoid checking `EXE001` and `EXE002` on WSL by [@​tjkuson](https://togithub.com/tjkuson) in [https://github.com/astral-sh/ruff/pull/5735](https://togithub.com/astral-sh/ruff/pull/5735)
- Properly group assignment targets by [@​MichaReiser](https://togithub.com/MichaReiser) in [https://github.com/astral-sh/ruff/pull/5728](https://togithub.com/astral-sh/ruff/pull/5728)
- Avoid stack overflow for non-BitOr binary types by [@​charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/astral-sh/ruff/pull/5743](https://togithub.com/astral-sh/ruff/pull/5743)
- Move function visit out of `Expr::Call` branches by [@​charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/astral-sh/ruff/pull/5772](https://togithub.com/astral-sh/ruff/pull/5772)
- \[B006] Add bytes to immutable types by [@​harupy](https://togithub.com/harupy) in [https://github.com/astral-sh/ruff/pull/5776](https://togithub.com/astral-sh/ruff/pull/5776)
- Format `SetComp` by [@​lkh42t](https://togithub.com/lkh42t) in [https://github.com/astral-sh/ruff/pull/5774](https://togithub.com/astral-sh/ruff/pull/5774)
- Gate `runtime-import-in-type-checking-block` (`TCH004`) behind enabled flag by [@​charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/astral-sh/ruff/pull/5789](https://togithub.com/astral-sh/ruff/pull/5789)
- perf: only compute start offset for overlong lines by [@​sbrugman](https://togithub.com/sbrugman) in [https://github.com/astral-sh/ruff/pull/5811](https://togithub.com/astral-sh/ruff/pull/5811)
- Change `pandas-use-of-dot-read-table` rule to emit only when `read_table` is used on CSV data by [@​tjkuson](https://togithub.com/tjkuson) in [https://github.com/astral-sh/ruff/pull/5807](https://togithub.com/astral-sh/ruff/pull/5807)
- Do not fix `NamedTuple` calls containing both a list of fields and keywords by [@​harupy](https://togithub.com/harupy) in [https://github.com/astral-sh/ruff/pull/5799](https://togithub.com/astral-sh/ruff/pull/5799)
- Ignore directories when collecting files to lint by [@​harupy](https://togithub.com/harupy) in [https://github.com/astral-sh/ruff/pull/5775](https://togithub.com/astral-sh/ruff/pull/5775)
- Add filename to `noqa` warnings by [@​sobolevn](https://togithub.com/sobolevn) in [https://github.com/astral-sh/ruff/pull/5856](https://togithub.com/astral-sh/ruff/pull/5856)
- Handle io errors gracefully by [@​konstin](https://togithub.com/konstin) in [https://github.com/astral-sh/ruff/pull/5611](https://togithub.com/astral-sh/ruff/pull/5611)
- Allow `respect_gitignore` when not in a git repo by [@​dhruvmanila](https://togithub.com/dhruvmanila) in [https://github.com/astral-sh/ruff/pull/5937](https://togithub.com/astral-sh/ruff/pull/5937)
#### New Contributors
- [@​eggplants](https://togithub.com/eggplants) made their first contribution in [https://github.com/astral-sh/ruff/pull/5741](https://togithub.com/astral-sh/ruff/pull/5741)
- [@​guillaumeLepape](https://togithub.com/guillaumeLepape) made their first contribution in [https://github.com/astral-sh/ruff/pull/5786](https://togithub.com/astral-sh/ruff/pull/5786)
- [@​odiseo0](https://togithub.com/odiseo0) made their first contribution in [https://github.com/astral-sh/ruff/pull/5888](https://togithub.com/astral-sh/ruff/pull/5888)
- [@​DavidCain](https://togithub.com/DavidCain) made their first contribution in [https://github.com/astral-sh/ruff/pull/5889](https://togithub.com/astral-sh/ruff/pull/5889)
- [@​LaBatata101](https://togithub.com/LaBatata101) made their first contribution in [https://github.com/astral-sh/ruff/pull/5844](https://togithub.com/astral-sh/ruff/pull/5844)
**Full Changelog**: https://github.com/astral-sh/ruff/compare/v0.0.278...v0.0.279
### [`v0.0.278`](https://togithub.com/astral-sh/ruff/releases/tag/v0.0.278)
[Compare Source](https://togithub.com/astral-sh/ruff/compare/v0.0.277...v0.0.278)
<!-- Release notes generated using configuration in .github/release.yml at main -->
See the [release blog post](https://astral.sh/blog/ruff-v0.0.278) for more, including detailed descriptions of any newly added rules.
#### What's Changed
##### Rules
- \[`pylint`] Implement `typevar-bivariance` (`PLC0131`) by [@​tjkuson](https://togithub.com/tjkuson) in [https://github.com/astral-sh/ruff/pull/5517](https://togithub.com/astral-sh/ruff/pull/5517)
- \[`flake8-pyi`] Implement `unnecessary-literal-union` (`PYI030`) by [@​zanieb](https://togithub.com/zanieb) in [https://github.com/astral-sh/ruff/pull/5570](https://togithub.com/astral-sh/ruff/pull/5570)
- \[`pylint`] Implement `type-name-incorrect-variance` (`PLC0105`) by [@​tjkuson](https://togithub.com/tjkuson) in [https://github.com/astral-sh/ruff/pull/5651](https://togithub.com/astral-sh/ruff/pull/5651)
- \[`ruff`] Implement `unnecessary-list-allocation-for-first-element` (`RUF015`) by [@​evanrittenhouse](https://togithub.com/evanrittenhouse) in [https://github.com/astral-sh/ruff/pull/5549](https://togithub.com/astral-sh/ruff/pull/5549)
- \[`flake8-bugbear`] Implement `re-sub-positional-args` (`B034`) by [@​charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/astral-sh/ruff/pull/5669](https://togithub.com/astral-sh/ruff/pull/5669)
- \[`ruff`] Implement `invalid-index-type` (`RUF016`) by [@​zanieb](https://togithub.com/zanieb) in [https://github.com/astral-sh/ruff/pull/5602](https://togithub.com/astral-sh/ruff/pull/5602)
##### Settings
- \[`isort`] Add `--case-sensitive` flag by [@​qdegraaf](https://togithub.com/qdegraaf) in [https://github.com/astral-sh/ruff/pull/5539](https://togithub.com/astral-sh/ruff/pull/5539)
- \[`isort`] Support globbing in `isort` options by [@​tjkuson](https://togithub.com/tjkuson) in [https://github.com/astral-sh/ruff/pull/5473](https://togithub.com/astral-sh/ruff/pull/5473)
##### Bug Fixes
- Support autofix for some multiline `str.format` calls by [@​harupy](https://togithub.com/harupy) in [https://github.com/astral-sh/ruff/pull/5638](https://togithub.com/astral-sh/ruff/pull/5638)
- Avoid triggering `unnecessary-map` (`C417`) for late-bound lambdas by [@​charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/astral-sh/ruff/pull/5520](https://togithub.com/astral-sh/ruff/pull/5520)
- Avoid triggering DTZ001-006 when using `.astimezone()` by [@​dhruvmanila](https://togithub.com/dhruvmanila) in [https://github.com/astral-sh/ruff/pull/5524](https://togithub.com/astral-sh/ruff/pull/5524)
- Enable attribute lookups via semantic model by [@​charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/astral-sh/ruff/pull/5536](https://togithub.com/astral-sh/ruff/pull/5536)
- Avoid syntax errors when rewriting str(dict) in f-strings by [@​charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/astral-sh/ruff/pull/5538](https://togithub.com/astral-sh/ruff/pull/5538)
- Differentiate between runtime and typing-time annotations by [@​charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/astral-sh/ruff/pull/5575](https://togithub.com/astral-sh/ruff/pull/5575)
- Only run pyproject.toml lint rules when enabled by [@​charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/astral-sh/ruff/pull/5578](https://togithub.com/astral-sh/ruff/pull/5578)
- Refactor isort directive skips to use iterators by [@​charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/astral-sh/ruff/pull/5623](https://togithub.com/astral-sh/ruff/pull/5623)
- Allow descriptor instantiations in dataclass fields by [@​charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/astral-sh/ruff/pull/5537](https://togithub.com/astral-sh/ruff/pull/5537)
- Refactor `noqa` directive parsing away from regex-based implementation by [@​charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/astral-sh/ruff/pull/5554](https://togithub.com/astral-sh/ruff/pull/5554)
- Emit warnings for invalid `# noqa` directives by [@​charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/astral-sh/ruff/pull/5571](https://togithub.com/astral-sh/ruff/pull/5571)
- Support individual codes on `# flake8: noqa` directives by [@​charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/astral-sh/ruff/pull/5618](https://togithub.com/astral-sh/ruff/pull/5618)
- Add `tkinter` import convention by [@​tjkuson](https://togithub.com/tjkuson) in [https://github.com/astral-sh/ruff/pull/5626](https://togithub.com/astral-sh/ruff/pull/5626)
- Avoid `PERF401` if conditional depends on list var by [@​dhruvmanila](https://togithub.com/dhruvmanila) in [https://github.com/astral-sh/ruff/pull/5603](https://togithub.com/astral-sh/ruff/pull/5603)
- Fix typo in complex-if-statement-in-stub message by [@​charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/astral-sh/ruff/pull/5635](https://togithub.com/astral-sh/ruff/pull/5635)
- Make TRY301 trigger only if a `raise` throws a caught exception by [@​evanrittenhouse](https://togithub.com/evanrittenhouse) in [https://github.com/astral-sh/ruff/pull/5455](https://togithub.com/astral-sh/ruff/pull/5455)
- Skip flake8-future-annotations checks in stub files by [@​charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/astral-sh/ruff/pull/5652](https://togithub.com/astral-sh/ruff/pull/5652)
- Always allow PEP 585 and PEP 604 rewrites in stub files by [@​charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/astral-sh/ruff/pull/5653](https://togithub.com/astral-sh/ruff/pull/5653)
- Add support for `Union` declarations without `|` to PYI016 by [@​zanieb](https://togithub.com/zanieb) in [https://github.com/astral-sh/ruff/pull/5598](https://togithub.com/astral-sh/ruff/pull/5598)
- Ignore `_name_` and `_value_` accesses in `flake8-self` rules by [@​monosans](https://togithub.com/monosans) in [https://github.com/astral-sh/ruff/pull/5663](https://togithub.com/astral-sh/ruff/pull/5663)
- Refactor `repeated_keys()` to use `ComparableExpr` by [@​qdegraaf](https://togithub.com/qdegraaf) in [https://github.com/astral-sh/ruff/pull/5696](https://togithub.com/astral-sh/ruff/pull/5696)
#### New Contributors
- [@​karosis88](https://togithub.com/karosis88) made their first contribution in [https://github.com/astral-sh/ruff/pull/5560](https://togithub.com/astral-sh/ruff/pull/5560)
- [@​petermattia](https://togithub.com/petermattia) made their first contribution in [https://github.com/astral-sh/ruff/pull/5579](https://togithub.com/astral-sh/ruff/pull/5579)
- [@​DimitriPapadopoulos](https://togithub.com/DimitriPapadopoulos) made their first contribution in [https://github.com/astral-sh/ruff/pull/5607](https://togithub.com/astral-sh/ruff/pull/5607)
**Full Changelog**: https://github.com/astral-sh/ruff/compare/v0.0.277...v0.0.278
### [`v0.0.277`](https://togithub.com/astral-sh/ruff/releases/tag/v0.0.277)
[Compare Source](https://togithub.com/astral-sh/ruff/compare/v0.0.276...v0.0.277)
<!-- Release notes generated using configuration in .github/release.yml at v0.0.277 -->
#### What's Changed
##### Breaking Changes
- Add .ipynb_checkpoints, .pyenv, .pytest_cache, and .vscode to default excludes by [@​charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/astral-sh/ruff/pull/5513](https://togithub.com/astral-sh/ruff/pull/5513)
##### Rules
- \[`pylint`] Implement Pylint `typevar-name-mismatch` (`C0132`) by [@​tjkuson](https://togithub.com/tjkuson) in [https://github.com/astral-sh/ruff/pull/5501](https://togithub.com/astral-sh/ruff/pull/5501)
##### Settings
- Add `ruff rule --all` subcommand (with JSON output) by [@​akx](https://togithub.com/akx) in [https://github.com/astral-sh/ruff/pull/5059](https://togithub.com/astral-sh/ruff/pull/5059)
##### Bug Fixes
- Fix eval detection for suspicious-eval-usage by [@​charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/astral-sh/ruff/pull/5506](https://togithub.com/astral-sh/ruff/pull/5506)
- Avoid PERF rules for iteration-dependent assignments by [@​charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/astral-sh/ruff/pull/5508](https://togithub.com/astral-sh/ruff/pull/5508)
- Avoid returning first-match for rule prefixes by [@​charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/astral-sh/ruff/pull/5511](https://togithub.com/astral-sh/ruff/pull/5511)
**Full Changelog**: https://github.com/astral-sh/ruff/compare/v0.0.276...v0.0.277
### [`v0.0.276`](https://togithub.com/astral-sh/ruff/releases/tag/v0.0.276)
[Compare Source](https://togithub.com/astral-sh/ruff/compare/v0.0.275...v0.0.276)
<!-- Release notes generated using configuration in .github/release.yml at v0.0.276 -->
See the [release blog post](https://astral.sh/blog/ruff-v0.0.276) for more, including detailed descriptions of any newly added rules.
#### What's Changed
Highlights include: experimental support for linting Jupyter Notebooks.
To opt-in to linting Jupyter Notebook files, add the `*.ipynb` pattern to your [`include`](settings.md#include)
setting, like so:
```toml
[tool.ruff]
### Allow Ruff to discover `*.ipynb` files.
include = ["*.py", "*.pyi", "**/pyproject.toml", "*.ipynb"]
```
This will prompt Ruff to discover Jupyter Notebook files in any specified directories, and lint them
accordingly.
Jupyter Notebook support is currently opt-in and experimental. We'd love your help testing it out.
Have feedback? Run into issues? [Let us know!](https://togithub.com/astral-sh/ruff/issues/new)
##### New Rules
- \[`flake8-pyi`] Implement `PYI002`, `PYI003`, `PYI004`, `PYI005` by [@​density](https://togithub.com/density) in [https://github.com/astral-sh/ruff/pull/5457](https://togithub.com/astral-sh/ruff/pull/5457)
- \[`numpy`] Implement `numpy-deprecated-function` (`NPY003`) by [@​charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/astral-sh/ruff/pull/5468](https://togithub.com/astral-sh/ruff/pull/5468)
- \[`perflint`] Implement `unnecessary-list-cast` (`PERF101`) by [@​qdegraaf](https://togithub.com/qdegraaf) in [https://github.com/astral-sh/ruff/pull/5121](https://togithub.com/astral-sh/ruff/pull/5121)
- \[`perflint`] Implement `try-except-in-loop` (`PERF203`) by [@​evanrittenhouse](https://togithub.com/evanrittenhouse) in [https://github.com/astral-sh/ruff/pull/5166](https://togithub.com/astral-sh/ruff/pull/5166)
- \[`perflint`] Implement `manual-list-comprehension` (`PERF401`) and `manual-list-copy` (`PERF402`) rules by [@​qdegraaf](https://togithub.com/qdegraaf) in [https://github.com/astral-sh/ruff/pull/5298](https://togithub.com/astral-sh/ruff/pull/5298)
- \[`pylint`] Implement Pylint `single-string-used-for-slots` (`C0205`) as `single-string-slots` (`PLC0205`) by [@​tjkuson](https://togithub.com/tjkuson) in [https://github.com/astral-sh/ruff/pull/5399](https://togithub.com/astral-sh/ruff/pull/5399)
##### Jupyter
- Experimental release for Jupyter notebook integration by [@​dhruvmanila](https://togithub.com/dhruvmanila) in [https://github.com/astral-sh/ruff/pull/5363](https://togithub.com/astral-sh/ruff/pull/5363)
- Enable --watch for Jupyter notebooks by [@​charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/astral-sh/ruff/pull/5394](https://togithub.com/astral-sh/ruff/pull/5394)
- Consider Jupyter index for code frames (`--show-source`) by [@​dhruvmanila](https://togithub.com/dhruvmanila) in [https://github.com/astral-sh/ruff/pull/5402](https://togithub.com/astral-sh/ruff/pull/5402)
- fixup! Consider Jupyter index for code frames (`--show-source`) ([#​5402](https://togithub.com/astral-sh/ruff/issues/5402)) by [@​dhruvmanila](https://togithub.com/dhruvmanila) in [https://github.com/astral-sh/ruff/pull/5414](https://togithub.com/astral-sh/ruff/pull/5414)
##### Settings
- \[`pyupgrade`] Restore the `keep-runtime-typing` setting by [@​charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/astral-sh/ruff/pull/5470](https://togithub.com/astral-sh/ruff/pull/5470)
- Add `PythonVersion::Py312` by [@​charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/astral-sh/ruff/pull/5316](https://togithub.com/astral-sh/ruff/pull/5316)
##### Bug Fixes
- Support `pydantic.BaseSettings` in `mutable-class-default` by [@​charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/astral-sh/ruff/pull/5312](https://togithub.com/astral-sh/ruff/pull/5312)
- Allow `__slots__` assignments in `mutable-class-default` by [@​charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/astral-sh/ruff/pull/5314](https://togithub.com/astral-sh/ruff/pull/5314)
- Avoid syntax errors when removing f-string prefixes by [@​charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/astral-sh/ruff/pull/5319](https://togithub.com/astral-sh/ruff/pull/5319)
- Ignore unpacking in `iteration-over-set` by [@​charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/astral-sh/ruff/pull/5392](https://togithub.com/astral-sh/ruff/pull/5392)
- Replace same length equal line with dash line in D407 by [@​dhruvmanila](https://togithub.com/dhruvmanila) in [https://github.com/astral-sh/ruff/pull/5383](https://togithub.com/astral-sh/ruff/pull/5383)
- Exclude docstrings from PYI053 by [@​intgr](https://togithub.com/intgr) in [https://github.com/astral-sh/ruff/pull/5405](https://togithub.com/astral-sh/ruff/pull/5405)
- Use "manual" fixability for E731 in shadowed context by [@​charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/astral-sh/ruff/pull/5430](https://togithub.com/astral-sh/ruff/pull/5430)
- Detect consecutive, non-newline-delimited NumPy sections by [@​charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/astral-sh/ruff/pull/5467](https://togithub.com/astral-sh/ruff/pull/5467)
- Fix `unnecessary-encode-utf8` to fix `encode` on parenthesized strings correctly by [@​harupy](https://togithub.com/harupy) in [https://github.com/astral-sh/ruff/pull/5478](https://togithub.com/astral-sh/ruff/pull/5478)
- Allow `Final` assignments in stubs by [@​charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/astral-sh/ruff/pull/5490](https://togithub.com/astral-sh/ruff/pull/5490)
- Respect `abc` decorators when classifying function types by [@​charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/astral-sh/ruff/pull/5315](https://togithub.com/astral-sh/ruff/pull/5315)
- Allow `@Author` format for "Missing Author" rule in `flake8-todos` by [@​mayrholu](https://togithub.com/mayrholu) in [https://github.com/astral-sh/ruff/pull/4903](https://togithub.com/astral-sh/ruff/pull/4903)
- Ignore type aliases for RUF013 by [@​dhruvmanila](https://togithub.com/dhruvmanila) in [https://github.com/astral-sh/ruff/pull/5344](https://togithub.com/astral-sh/ruff/pull/5344)
- Change W605 autofix to use raw strings if possible by [@​hauntsaninja](https://togithub.com/hauntsaninja) in [https://github.com/astral-sh/ruff/pull/5352](https://togithub.com/astral-sh/ruff/pull/5352)
- Add space when migrating to raw string by [@​charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/astral-sh/ruff/pull/5358](https://togithub.com/astral-sh/ruff/pull/5358)
- Update the `invalid-escape-sequence` rule by [@​charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/astral-sh/ruff/pull/5359](https://togithub.com/astral-sh/ruff/pull/5359)
- Include BaseException in B017 rule by [@​charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/astral-sh/ruff/pull/5466](https://togithub.com/astral-sh/ruff/pull/5466)
- \[`flake8-django`] Skip duplicate violations in `DJ012` by [@​charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/astral-sh/ruff/pull/5469](https://togithub.com/astral-sh/ruff/pull/5469)
#### New Contributors
- [@​mayrholu](https://togithub.com/mayrholu) made their first contribution in [https://github.com/astral-sh/ruff/pull/4903](https://togithub.com/astral-sh/ruff/pull/4903)
- [@​hauntsaninja](https://togithub.com/hauntsaninja) made their first contribution in [https://github.com/astral-sh/ruff/pull/5352](https://togithub.com/astral-sh/ruff/pull/5352)
- [@​ethunk](https://togithub.com/ethunk) made their first contribution in [https://github.com/astral-sh/ruff/pull/5397](https://togithub.com/astral-sh/ruff/pull/5397)
- [@​LouisDISPA](https://togithub.com/LouisDISPA) made their first contribution in [https://github.com/astral-sh/ruff/pull/5475](https://togithub.com/astral-sh/ruff/pull/5475)
**Full Changelog**: https://github.com/astral-sh/ruff/compare/v0.0.275...v0.0.276
### [`v0.0.275`](https://togithub.com/astral-sh/ruff/releases/tag/v0.0.275)
[Compare Source](https://togithub.com/astral-sh/ruff/compare/v0.0.274...v0.0.275)
<!-- Release notes generated using configuration in .github/release.yml at v0.0.275 -->
#### What's Changed
Highlights include a 7-10x decrease in Ruff's cache size.
##### Rules
- Add support for top-level quoted annotations in RUF013 by [@​charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/astral-sh/ruff/pull/5235](https://togithub.com/astral-sh/ruff/pull/5235)
- Add support for nested quoted annotations in RUF013 by [@​dhruvmanila](https://togithub.com/dhruvmanila) in [https://github.com/astral-sh/ruff/pull/5254](https://togithub.com/astral-sh/ruff/pull/5254)
- Move `compare-to-empty-string` (`PLC1901`) to nursery by [@​charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/astral-sh/ruff/pull/5264](https://togithub.com/astral-sh/ruff/pull/5264)
- Ignore Pydantic classes when evaluating `mutable-class-default` (`RUF012`) by [@​charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/astral-sh/ruff/pull/5273](https://togithub.com/astral-sh/ruff/pull/5273)
- Allow `typing.Final` for `mutable-class-default annotations` (`RUF012`) by [@​charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/astral-sh/ruff/pull/5274](https://togithub.com/astral-sh/ruff/pull/5274)
- Modify `deprecated-import` (`UP035`) to prefer `typing_extensions` in some versions by [@​tjkuson](https://togithub.com/tjkuson) in [https://github.com/astral-sh/ruff/pull/5291](https://togithub.com/astral-sh/ruff/pull/5291)
##### Bug Fixes
- Restore existing bindings when unbinding caught exceptions by [@​charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/astral-sh/ruff/pull/5256](https://togithub.com/astral-sh/ruff/pull/5256)
- Avoid including nursery rules in linter-level selectors by [@​charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/astral-sh/ruff/pull/5268](https://togithub.com/astral-sh/ruff/pull/5268)
#### New Contributors
- [@​jgberry](https://togithub.com/jgberry) made their first contribution in [https://github.com/astral-sh/ruff/pull/5221](https://togithub.com/astral-sh/ruff/pull/5221)
**Full Changelog**: https://github.com/astral-sh/ruff/compare/v0.0.274...v0.0.275
### [`v0.0.274`](https://togithub.com/astral-sh/ruff/releases/tag/v0.0.274)
[Compare Source](https://togithub.com/astral-sh/ruff/compare/v0.0.273...v0.0.274)
<!-- Release notes generated using configuration in .github/release.yml at v0.0.274 -->
#### What's Changed
Follow-up release to `v0.0.273` to fix a panic in cache accesses.
##### Bug Fixes
- Use package roots rather than package members for cache initialization by [@​charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/astral-sh/ruff/pull/5233](https://togithub.com/astral-sh/ruff/pull/5233)
- Avoid `.unwrap()` on cache access by [@​charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/astral-sh/ruff/pull/5229](https://togithub.com/astral-sh/ruff/pull/5229)
- Revert change to `RUF010` to remove unnecessary `str` calls by [@​charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/astral-sh/ruff/pull/5232](https://togithub.com/astral-sh/ruff/pull/5232)
- Avoid erroneous RUF013 violations for quoted annotations by [@​charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/astral-sh/ruff/pull/5234](https://togithub.com/astral-sh/ruff/pull/5234)
**Full Changelog**: https://github.com/astral-sh/ruff/compare/v0.0.273...v0.0.274
### [`v0.0.273`](https://togithub.com/astral-sh/ruff/releases/tag/v0.0.273)
[Compare Source](https://togithub.com/astral-sh/ruff/compare/v0.0.272...v0.0.273)
<!-- Release notes generated using configuration in .github/release.yml at main -->
#### What's Changed
Highlights include:
- Autofix capabilities for rules like `flake8-import-conventions`, which require symbol renames across a file.
- Significant decrease in Ruff's cache size (e.g., a ~50% decrease for FastAPI).
- Dozens and dozens of bug fixes + performance improvements.
##### Rules
- \[`copyright`] Implement copyright notice detection by [@​Ryang20718](https://togithub.com/Ryang20718) in [https://github.com/astral-sh/ruff/pull/4701](https://togithub.com/astral-sh/ruff/pull/4701)
- \[`flake8-datetimez`] Enable UTC-import for `datetime-utc-alias` fix by [@​charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/astral-sh/ruff/pull/5100](https://togithub.com/astral-sh/ruff/pull/5100)
- \[`flake8-implicit-str-concat`] Add autofix for `ISC001` by [@​tkukushkin](https://togithub.com/tkukushkin) in [https://github.com/astral-sh/ruff/pull/4853](https://togithub.com/astral-sh/ruff/pull/4853)
- \[`flake8-import-
</details>
---
### Configuration
📅 **Schedule**: Branch creation - "every weekend" in timezone Etc/UTC, Automerge - "before 07:00" in timezone Etc/UTC.
🚦 **Automerge**: Enabled.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.com/renovatebot/renovate/discussions) if that's undesired.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box
---
This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/canonical/charmcraft).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi4xMS4wIiwidXBkYXRlZEluVmVyIjoiMzYuMTEuMCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Merged automated patch dependency updates via Renovate. Updated PyYAML, click, codespell, distlib, jsonschema, ruff, types-Deprecated, types-PyYAML, and zipp to latest patch versions. CI passed and changes were automerged. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged automated patch dependency updates for PyYAML, click, codespell, distlib, jsonschema, ruff, types-Deprecated, types-PyYAML, and zipp via Renovate bot with automerge enabled. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Renovate bot merged patch updates for PyYAML, click, codespell, distlib, jsonschema, ruff, types-Deprecated, types-PyYAML, and zipp. Changes were automatically merged via routine dependency maintenance. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #987 chore(deps): update patch updates | charmcraft | merged | Merged automated patch updates for pytest, pytz, and requests via Renovate. Approved by one reviewer, passed CI checks, and automatically merged per repository configuration. | |
| #56 chore(deps): update bugfixes | imagecraft | merged | Merged automated dependency updates via Renovate. PyYAML upgraded to 6.0.2 and pyright to 1.1.375. CI checks passed, and automerge successfully integrated the bugfixes into the main branch. | |
| #45 chore(deps): update patch updates | starbase | merged | Merged automated patch updates for codespell, coverage, pytest, ruff, and tox via Renovate bot. The change modified 2 files with minimal line adjustments, approved and merged automatically per scheduled policy. | |
| #40 chore(deps): update patch updates | starbase | merged | Merged automated dependency updates via Renovate. Updated ruff to 0.0.252 and tox to 4.4.6. Approved, passed CI, and auto-merged per schedule. | |
| #339 chore(deps): update bugfixes | rockcraft | merged | Merged automated patch updates for twelve Python dependencies, including urllib3, PyYAML, and click. The change passed CI, received two approvals, and was merged after a maintainer confirmed a related linting fix. | |
| #1348 chore(deps): update patch updates | charmcraft | merged | Merged automated patch updates for codespell, coverage, pycodestyle, pyright, and rpds-py. Approved by two reviewers with passing CI checks, the dependency changes were automatically applied to the main branch. | |
| #1601 chore(deps): update bugfixes | charmcraft | merged | Merged automated dependency updates via Renovate, upgrading coverage, cryptography, importlib-metadata, keyring, pyparsing, and setuptools to latest patch releases. Approved by reviewers, passed CI, and merged automatically. | |
| #388 chore(deps): update bugfixes | rockcraft | merged | Merged automated dependency updates via Renovate bot. Updated codespell, coverage, dotnet runtime-deps, pylint, and urllib3 to latest patch versions. Approved by two reviewers, passed CI, and merged with minimal changes. | |
| #30 chore(deps): update patch updates | craft-archives | merged | Merged automated patch updates for coverage, pytest, and ruff via Renovate. Versions advanced to 7.2.1, 7.2.2, and 0.0.254. Changes passed CI and review before merging into main. | |
| #983 chore(deps): update patch updates | charmcraft | merged | Merged automated dependency patch updates for cachetools to 5.2.1 and urllib3 to 1.26.14. The Renovate-generated PR passed CI checks and reviewer approval before auto-merging. |