chore(deps): update dependency ruff to v0.5.2 #70

Merged
Xefir merged 1 commits from renovate/ruff-0.x-lockfile into master 2024-07-15 08:06:56 +00:00
Owner

This PR contains the following updates:

Package Type Update Change
ruff (source, changelog) dev patch 0.5.1 -> 0.5.2

Release Notes

astral-sh/ruff (ruff)

v0.5.2

Compare Source

Preview features
  • Use space separator before parenthesized expressions in comprehensions with leading comments (#​12282)
  • `flake8-async`] Update `ASYNC100` to include `anyio` and `asyncio` ([#​12221](https://github.com/astral-sh/ruff/pull/12221))
    
  • `flake8-async`] Update `ASYNC109` to include `anyio` and `asyncio` ([#​12236](https://github.com/astral-sh/ruff/pull/12236))
    
  • `flake8-async`] Update `ASYNC110` to include `anyio` and `asyncio` ([#​12261](https://github.com/astral-sh/ruff/pull/12261))
    
  • `flake8-async`] Update `ASYNC115` to include `anyio` and `asyncio` ([#​12262](https://github.com/astral-sh/ruff/pull/12262))
    
  • `flake8-async`] Update `ASYNC116` to include `anyio` and `asyncio` ([#​12266](https://github.com/astral-sh/ruff/pull/12266))
    
    
Rule changes
  • `flake8-return`] Exempt properties from explicit return rule (`RET501`) ([#​12243](https://github.com/astral-sh/ruff/pull/12243))
    
  • `numpy`] Add `np.NAN`-to-`np.nan` diagnostic ([#​12292](https://github.com/astral-sh/ruff/pull/12292))
    
  • `refurb`] Make `list-reverse-copy` an unsafe fix ([#​12303](https://github.com/astral-sh/ruff/pull/12303))
    
    
Server
  • Consider include and extend-include settings in native server (#​12252)
  • Include nested configurations in settings reloading (#​12253)
CLI
  • Omit code frames for fixes with empty ranges (#​12304)
  • Warn about formatter incompatibility for D203 (#​12238)
Bug fixes
  • Make cache-write failures non-fatal on Windows (#​12302)
  • Treat not operations as boolean tests (#​12301)
  • `flake8-bandit`] Avoid `S310` violations for HTTP-safe f-strings ([#​12305](https://github.com/astral-sh/ruff/pull/12305))
    
  • `flake8-bandit`] Support explicit string concatenations in S310 HTTP detection ([#​12315](https://github.com/astral-sh/ruff/pull/12315))
    
  • `flake8-bandit`] fix S113 false positive for httpx without `timeout` argument ([#​12213](https://github.com/astral-sh/ruff/pull/12213))
    
  • `pycodestyle`] Remove "non-obvious" allowance for E721 ([#​12300](https://github.com/astral-sh/ruff/pull/12300))
    
  • `pyflakes`] Consider `with` blocks as single-item branches for redefinition analysis ([#​12311](https://github.com/astral-sh/ruff/pull/12311))
    
  • `refurb`] Restrict forwarding for `newline` argument in `open()` calls to Python versions >= 3.10 ([#​12244](https://github.com/astral-sh/ruff/pull/12244))
    
    
Documentation
  • Update help and documentation to reflect --output-format full default (#​12248)
Performance
  • Use more threads when discovering Python files (#​12258)

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 | patch | `0.5.1` -> `0.5.2` | --- ### Release Notes <details> <summary>astral-sh/ruff (ruff)</summary> ### [`v0.5.2`](https://github.com/astral-sh/ruff/blob/HEAD/CHANGELOG.md#052) [Compare Source](https://github.com/astral-sh/ruff/compare/0.5.1...0.5.2) ##### Preview features - Use `space` separator before parenthesized expressions in comprehensions with leading comments ([#&#8203;12282](https://github.com/astral-sh/ruff/pull/12282)) - \[`flake8-async`] Update `ASYNC100` to include `anyio` and `asyncio` ([#&#8203;12221](https://github.com/astral-sh/ruff/pull/12221)) - \[`flake8-async`] Update `ASYNC109` to include `anyio` and `asyncio` ([#&#8203;12236](https://github.com/astral-sh/ruff/pull/12236)) - \[`flake8-async`] Update `ASYNC110` to include `anyio` and `asyncio` ([#&#8203;12261](https://github.com/astral-sh/ruff/pull/12261)) - \[`flake8-async`] Update `ASYNC115` to include `anyio` and `asyncio` ([#&#8203;12262](https://github.com/astral-sh/ruff/pull/12262)) - \[`flake8-async`] Update `ASYNC116` to include `anyio` and `asyncio` ([#&#8203;12266](https://github.com/astral-sh/ruff/pull/12266)) ##### Rule changes - \[`flake8-return`] Exempt properties from explicit return rule (`RET501`) ([#&#8203;12243](https://github.com/astral-sh/ruff/pull/12243)) - \[`numpy`] Add `np.NAN`-to-`np.nan` diagnostic ([#&#8203;12292](https://github.com/astral-sh/ruff/pull/12292)) - \[`refurb`] Make `list-reverse-copy` an unsafe fix ([#&#8203;12303](https://github.com/astral-sh/ruff/pull/12303)) ##### Server - Consider `include` and `extend-include` settings in native server ([#&#8203;12252](https://github.com/astral-sh/ruff/pull/12252)) - Include nested configurations in settings reloading ([#&#8203;12253](https://github.com/astral-sh/ruff/pull/12253)) ##### CLI - Omit code frames for fixes with empty ranges ([#&#8203;12304](https://github.com/astral-sh/ruff/pull/12304)) - Warn about formatter incompatibility for `D203` ([#&#8203;12238](https://github.com/astral-sh/ruff/pull/12238)) ##### Bug fixes - Make cache-write failures non-fatal on Windows ([#&#8203;12302](https://github.com/astral-sh/ruff/pull/12302)) - Treat `not` operations as boolean tests ([#&#8203;12301](https://github.com/astral-sh/ruff/pull/12301)) - \[`flake8-bandit`] Avoid `S310` violations for HTTP-safe f-strings ([#&#8203;12305](https://github.com/astral-sh/ruff/pull/12305)) - \[`flake8-bandit`] Support explicit string concatenations in S310 HTTP detection ([#&#8203;12315](https://github.com/astral-sh/ruff/pull/12315)) - \[`flake8-bandit`] fix S113 false positive for httpx without `timeout` argument ([#&#8203;12213](https://github.com/astral-sh/ruff/pull/12213)) - \[`pycodestyle`] Remove "non-obvious" allowance for E721 ([#&#8203;12300](https://github.com/astral-sh/ruff/pull/12300)) - \[`pyflakes`] Consider `with` blocks as single-item branches for redefinition analysis ([#&#8203;12311](https://github.com/astral-sh/ruff/pull/12311)) - \[`refurb`] Restrict forwarding for `newline` argument in `open()` calls to Python versions >= 3.10 ([#&#8203;12244](https://github.com/astral-sh/ruff/pull/12244)) ##### Documentation - Update help and documentation to reflect `--output-format full` default ([#&#8203;12248](https://github.com/astral-sh/ruff/pull/12248)) ##### Performance - Use more threads when discovering Python files ([#&#8203;12258](https://github.com/astral-sh/ruff/pull/12258)) </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-07-15 06:28:55 +00:00
chore(deps): update dependency ruff to v0.5.2
All checks were successful
dl / lint (push) Successful in 1m15s
dl / docker (push) Successful in 3m40s
63a0f5b3d3
Xefir merged commit 396841e63a into master 2024-07-15 08:06:56 +00:00
Xefir deleted branch renovate/ruff-0.x-lockfile 2024-07-15 08:06:57 +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/dl#70
No description provided.