cookiecutter / cookiecutter-django

Cookiecutter Django is a framework for jumpstarting production-ready Django projects quickly.
https://cookiecutter-django.readthedocs.io
BSD 3-Clause "New" or "Revised" License
12.18k stars 2.91k forks source link

Update ruff to 0.6.9 #5428

Closed pyup-bot closed 1 month ago

pyup-bot commented 1 month ago

This PR updates ruff from 0.6.8 to 0.6.9.

Changelog ### 0.6.9 ``` Preview features - Fix codeblock dynamic line length calculation for indented docstring examples ([13523](https://github.com/astral-sh/ruff/pull/13523)) - \[`refurb`\] Mark `FURB118` fix as unsafe ([13613](https://github.com/astral-sh/ruff/pull/13613)) Rule changes - \[`pydocstyle`\] Don't raise `D208` when last line is non-empty ([13372](https://github.com/astral-sh/ruff/pull/13372)) - \[`pylint`\] Preserve trivia (i.e. comments) in `PLR5501` autofix ([13573](https://github.com/astral-sh/ruff/pull/13573)) Configuration - \[`pyflakes`\] Add `allow-unused-imports` setting for `unused-import` rule (`F401`) ([13601](https://github.com/astral-sh/ruff/pull/13601)) Bug fixes - Support ruff discovery in pip build environments ([13591](https://github.com/astral-sh/ruff/pull/13591)) - \[`flake8-bugbear`\] Avoid short circuiting `B017` for multiple context managers ([13609](https://github.com/astral-sh/ruff/pull/13609)) - \[`pylint`\] Do not offer an invalid fix for `PLR1716` when the comparisons contain parenthesis ([13527](https://github.com/astral-sh/ruff/pull/13527)) - \[`pyupgrade`\] Fix `UP043` to apply to `collections.abc.Generator` and `collections.abc.AsyncGenerator` ([13611](https://github.com/astral-sh/ruff/pull/13611)) - \[`refurb`\] Fix handling of slices in tuples for `FURB118`, e.g., `x[:, 1]` ([13518](https://github.com/astral-sh/ruff/pull/13518)) Documentation - Update GitHub Action link to `astral-sh/ruff-action` ([13551](https://github.com/astral-sh/ruff/pull/13551)) ```
Links - PyPI: https://pypi.org/project/ruff - Changelog: https://data.safetycli.com/changelogs/ruff/ - Homepage: https://docs.astral.sh/ruff