chore(deps): update dependency ruff to ^0.8.2 #265

Merged
Xefir merged 1 commits from renovate/ruff-0.x into master 2024-12-05 13:42:11 +00:00
Owner

This PR contains the following updates:

Package Type Update Change
ruff (source, changelog) dev-dependencies patch ^0.8.1 -> ^0.8.2

Release Notes

astral-sh/ruff (ruff)

v0.8.2

Compare Source

Preview features
  • `airflow`] Avoid deprecated values (`AIR302`) ([#​14582](https://github.com/astral-sh/ruff/pull/14582))
    
  • `airflow`] Extend removed names for `AIR302` ([#​14734](https://github.com/astral-sh/ruff/pull/14734))
    
  • `ruff`] Extend `unnecessary-regular-expression` to non-literal strings (`RUF055`) ([#​14679](https://github.com/astral-sh/ruff/pull/14679))
    
  • `ruff`] Implement `used-dummy-variable` (`RUF052`) ([#​14611](https://github.com/astral-sh/ruff/pull/14611))
    
  • `ruff`] Implement `unnecessary-cast-to-int` (`RUF046`) ([#​14697](https://github.com/astral-sh/ruff/pull/14697))
    
    
Rule changes
  • `airflow`] Check `AIR001` from builtin or providers `operators` module ([#​14631](https://github.com/astral-sh/ruff/pull/14631))
    
  • `flake8-pytest-style`] Remove `@` in `pytest.mark.parametrize` rule messages ([#​14770](https://github.com/astral-sh/ruff/pull/14770))
    
  • `pandas-vet`] Skip rules if the `panda` module hasn't been seen ([#​14671](https://github.com/astral-sh/ruff/pull/14671))
    
  • `pylint`] Fix false negatives for `ascii` and `sorted` in `len-as-condition` (`PLC1802`) ([#​14692](https://github.com/astral-sh/ruff/pull/14692))
    
  • `refurb`] Guard `hashlib` imports and mark `hashlib-digest-hex` fix as safe (`FURB181`) ([#​14694](https://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://github.com/astral-sh/ruff/pull/14745))
    
    
Bug fixes
  • Revert: [pyflakes] Avoid false positives in @no_type_check contexts (F821, F722) (#​14615) (#​14726)
  • `pep8-naming`] Avoid false positive for `class Bar(type(foo))` (`N804`) ([#​14683](https://github.com/astral-sh/ruff/pull/14683))
    
  • `pycodestyle`] Handle f-strings properly for `invalid-escape-sequence` (`W605`) ([#​14748](https://github.com/astral-sh/ruff/pull/14748))
    
  • `pylint`] Ignore `@overload` in `PLR0904` ([#​14730](https://github.com/astral-sh/ruff/pull/14730))
    
  • `refurb`] Handle non-finite decimals in `verbose-decimal-constructor` (`FURB157`) ([#​14596](https://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://github.com/astral-sh/ruff/pull/14661))
    
    
Documentation
  • Improve docs for flake8-use-pathlib rules (#​14741)
  • Improve error messages and docs for flake8-comprehensions rules (#​14729)
  • `flake8-type-checking`] Expands `TC006` docs to better explain itself ([#​14749](https://github.com/astral-sh/ruff/pull/14749))
    
    

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), 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.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [ruff](https://docs.astral.sh/ruff) ([source](https://github.com/astral-sh/ruff), [changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md)) | dev-dependencies | patch | `^0.8.1` -> `^0.8.2` | --- ### Release Notes <details> <summary>astral-sh/ruff (ruff)</summary> ### [`v0.8.2`](https://github.com/astral-sh/ruff/blob/HEAD/CHANGELOG.md#082) [Compare Source](https://github.com/astral-sh/ruff/compare/0.8.1...0.8.2) ##### Preview features - \[`airflow`] Avoid deprecated values (`AIR302`) ([#&#8203;14582](https://github.com/astral-sh/ruff/pull/14582)) - \[`airflow`] Extend removed names for `AIR302` ([#&#8203;14734](https://github.com/astral-sh/ruff/pull/14734)) - \[`ruff`] Extend `unnecessary-regular-expression` to non-literal strings (`RUF055`) ([#&#8203;14679](https://github.com/astral-sh/ruff/pull/14679)) - \[`ruff`] Implement `used-dummy-variable` (`RUF052`) ([#&#8203;14611](https://github.com/astral-sh/ruff/pull/14611)) - \[`ruff`] Implement `unnecessary-cast-to-int` (`RUF046`) ([#&#8203;14697](https://github.com/astral-sh/ruff/pull/14697)) ##### Rule changes - \[`airflow`] Check `AIR001` from builtin or providers `operators` module ([#&#8203;14631](https://github.com/astral-sh/ruff/pull/14631)) - \[`flake8-pytest-style`] Remove `@` in `pytest.mark.parametrize` rule messages ([#&#8203;14770](https://github.com/astral-sh/ruff/pull/14770)) - \[`pandas-vet`] Skip rules if the `panda` module hasn't been seen ([#&#8203;14671](https://github.com/astral-sh/ruff/pull/14671)) - \[`pylint`] Fix false negatives for `ascii` and `sorted` in `len-as-condition` (`PLC1802`) ([#&#8203;14692](https://github.com/astral-sh/ruff/pull/14692)) - \[`refurb`] Guard `hashlib` imports and mark `hashlib-digest-hex` fix as safe (`FURB181`) ([#&#8203;14694](https://github.com/astral-sh/ruff/pull/14694)) ##### Configuration - \[`flake8-import-conventions`] Improve syntax check for aliases supplied in configuration for `unconventional-import-alias` (`ICN001`) ([#&#8203;14745](https://github.com/astral-sh/ruff/pull/14745)) ##### Bug fixes - Revert: \[pyflakes] Avoid false positives in `@no_type_check` contexts (`F821`, `F722`) ([#&#8203;14615](https://github.com/astral-sh/ruff/issues/14615)) ([#&#8203;14726](https://github.com/astral-sh/ruff/pull/14726)) - \[`pep8-naming`] Avoid false positive for `class Bar(type(foo))` (`N804`) ([#&#8203;14683](https://github.com/astral-sh/ruff/pull/14683)) - \[`pycodestyle`] Handle f-strings properly for `invalid-escape-sequence` (`W605`) ([#&#8203;14748](https://github.com/astral-sh/ruff/pull/14748)) - \[`pylint`] Ignore `@overload` in `PLR0904` ([#&#8203;14730](https://github.com/astral-sh/ruff/pull/14730)) - \[`refurb`] Handle non-finite decimals in `verbose-decimal-constructor` (`FURB157`) ([#&#8203;14596](https://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`) ([#&#8203;14661](https://github.com/astral-sh/ruff/pull/14661)) ##### Documentation - Improve docs for `flake8-use-pathlib` rules ([#&#8203;14741](https://github.com/astral-sh/ruff/pull/14741)) - Improve error messages and docs for `flake8-comprehensions` rules ([#&#8203;14729](https://github.com/astral-sh/ruff/pull/14729)) - \[`flake8-type-checking`] Expands `TC006` docs to better explain itself ([#&#8203;14749](https://github.com/astral-sh/ruff/pull/14749)) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), 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 has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xODEuNiIsInVwZGF0ZWRJblZlciI6IjM3LjE4MS42IiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIn0=-->
Xefir added 1 commit 2024-12-05 12:58:03 +00:00
chore(deps): update dependency ruff to ^0.8.2
All checks were successful
divent / lint (push) Successful in 1m46s
divent / docker (push) Successful in 1m30s
divent / pypi (push) Has been skipped
2afb2f7b8b
Xefir merged commit 8bfaf19315 into master 2024-12-05 13:42:11 +00:00
Xefir deleted branch renovate/ruff-0.x 2024-12-05 13:42:12 +00:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Xefir/Divent#265
No description provided.