mirror of https://github.com/astral-sh/ruff
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [ruff](https://docs.astral.sh/ruff) ([source](https://redirect.github.com/astral-sh/ruff), [changelog](https://redirect.github.com/astral-sh/ruff/blob/main/CHANGELOG.md)) | `==0.8.1` -> `==0.8.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>astral-sh/ruff (ruff)</summary> ### [`v0.8.2`](https://redirect.github.com/astral-sh/ruff/blob/HEAD/CHANGELOG.md#082) [Compare Source](https://redirect.github.com/astral-sh/ruff/compare/0.8.1...0.8.2) ##### Preview features - \[`airflow`] Avoid deprecated values (`AIR302`) ([#​14582](https://redirect.github.com/astral-sh/ruff/pull/14582)) - \[`airflow`] Extend removed names for `AIR302` ([#​14734](https://redirect.github.com/astral-sh/ruff/pull/14734)) - \[`ruff`] Extend `unnecessary-regular-expression` to non-literal strings (`RUF055`) ([#​14679](https://redirect.github.com/astral-sh/ruff/pull/14679)) - \[`ruff`] Implement `used-dummy-variable` (`RUF052`) ([#​14611](https://redirect.github.com/astral-sh/ruff/pull/14611)) - \[`ruff`] Implement `unnecessary-cast-to-int` (`RUF046`) ([#​14697](https://redirect.github.com/astral-sh/ruff/pull/14697)) ##### Rule changes - \[`airflow`] Check `AIR001` from builtin or providers `operators` module ([#​14631](https://redirect.github.com/astral-sh/ruff/pull/14631)) - \[`flake8-pytest-style`] Remove `@` in `pytest.mark.parametrize` rule messages ([#​14770](https://redirect.github.com/astral-sh/ruff/pull/14770)) - \[`pandas-vet`] Skip rules if the `panda` module hasn't been seen ([#​14671](https://redirect.github.com/astral-sh/ruff/pull/14671)) - \[`pylint`] Fix false negatives for `ascii` and `sorted` in `len-as-condition` (`PLC1802`) ([#​14692](https://redirect.github.com/astral-sh/ruff/pull/14692)) - \[`refurb`] Guard `hashlib` imports and mark `hashlib-digest-hex` fix as safe (`FURB181`) ([#​14694](https://redirect.github.com/astral-sh/ruff/pull/14694)) ##### Configuration - \[`flake8-import-conventions`] Improve syntax check for aliases supplied in configuration for `unconventional-import-alias` (`ICN001`) ([#​14745](https://redirect.github.com/astral-sh/ruff/pull/14745)) ##### Bug fixes - Revert: \[pyflakes] Avoid false positives in `@no_type_check` contexts (`F821`, `F722`) ([#​14615](https://redirect.github.com/astral-sh/ruff/issues/14615)) ([#​14726](https://redirect.github.com/astral-sh/ruff/pull/14726)) - \[`pep8-naming`] Avoid false positive for `class Bar(type(foo))` (`N804`) ([#​14683](https://redirect.github.com/astral-sh/ruff/pull/14683)) - \[`pycodestyle`] Handle f-strings properly for `invalid-escape-sequence` (`W605`) ([#​14748](https://redirect.github.com/astral-sh/ruff/pull/14748)) - \[`pylint`] Ignore `@overload` in `PLR0904` ([#​14730](https://redirect.github.com/astral-sh/ruff/pull/14730)) - \[`refurb`] Handle non-finite decimals in `verbose-decimal-constructor` (`FURB157`) ([#​14596](https://redirect.github.com/astral-sh/ruff/pull/14596)) - \[`ruff`] Avoid emitting `assignment-in-assert` when all references to the assigned variable are themselves inside `assert`s (`RUF018`) ([#​14661](https://redirect.github.com/astral-sh/ruff/pull/14661)) ##### Documentation - Improve docs for `flake8-use-pathlib` rules ([#​14741](https://redirect.github.com/astral-sh/ruff/pull/14741)) - Improve error messages and docs for `flake8-comprehensions` rules ([#​14729](https://redirect.github.com/astral-sh/ruff/pull/14729)) - \[`flake8-type-checking`] Expands `TC006` docs to better explain itself ([#​14749](https://redirect.github.com/astral-sh/ruff/pull/14749)) </details> --- ### Configuration 📅 **Schedule**: Branch creation - "before 4am on Monday" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/astral-sh/ruff). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS40Mi40IiwidXBkYXRlZEluVmVyIjoiMzkuNDIuNCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiaW50ZXJuYWwiXX0=--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| .overrides | ||
| assets | ||
| editors | ||
| formatter | ||
| js | ||
| stylesheets | ||
| .gitignore | ||
| configuration.md | ||
| faq.md | ||
| formatter.md | ||
| installation.md | ||
| integrations.md | ||
| linter.md | ||
| preview.md | ||
| requirements-insiders.txt | ||
| requirements.txt | ||
| tutorial.md | ||
| versioning.md | ||