Skip to content

Commit

Permalink
Update dependency ruff to v0.1.12 (#46)
Browse files Browse the repository at this point in the history
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [ruff](https://docs.astral.sh/ruff)
([source](https://togithub.com/astral-sh/ruff),
[changelog](https://togithub.com/astral-sh/ruff/blob/main/CHANGELOG.md))
| `0.1.11` -> `0.1.12` |
[![age](https://developer.mend.io/api/mc/badges/age/pypi/ruff/0.1.12?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/ruff/0.1.12?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/ruff/0.1.11/0.1.12?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/ruff/0.1.11/0.1.12?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>astral-sh/ruff (ruff)</summary>

###
[`v0.1.12`](https://togithub.com/astral-sh/ruff/blob/HEAD/CHANGELOG.md#0112)

[Compare
Source](https://togithub.com/astral-sh/ruff/compare/v0.1.11...v0.1.12)

##### Preview features

- Formatter: Hug multiline-strings in preview style
([#&#8203;9243](https://togithub.com/astral-sh/ruff/pull/9243))
- \[`flake8-bandit`] Add `ssl-with-no-version` (`S504`)
([#&#8203;9384](https://togithub.com/astral-sh/ruff/pull/9384))
- \[`flake8-bandit`] Implement `ssl-insecure-version` (`S502`)
([#&#8203;9390](https://togithub.com/astral-sh/ruff/pull/9390))
- \[`flake8-bandit`] Implement `ssl-with-bad-defaults` (`S503`)
([#&#8203;9391](https://togithub.com/astral-sh/ruff/pull/9391))
- \[`flake8-bandit`] Implement suspicious import rules (`S4XX`)
([#&#8203;8831](https://togithub.com/astral-sh/ruff/pull/8831))
- \[`flake8-simplify`] Implement `zip-dict-keys-and-values` (`SIM911`)
([#&#8203;9460](https://togithub.com/astral-sh/ruff/pull/9460))
- \[`pyflakes`] Add a fix for `redefined-while-unused` (`F811`)
([#&#8203;9419](https://togithub.com/astral-sh/ruff/pull/9419))
- \[`pylint`] Implement `unnecessary-dunder-call` (`C2801`)
([#&#8203;9166](https://togithub.com/astral-sh/ruff/pull/9166))
- \[`ruff`] Add `parenthesize-chained-operators` (`RUF021`) to enforce
parentheses in `a or b and c`
([#&#8203;9440](https://togithub.com/astral-sh/ruff/pull/9440))

##### Rule changes

- \[`flake8-boolean-trap`] Allow Boolean positional arguments in setters
([#&#8203;9429](https://togithub.com/astral-sh/ruff/pull/9429))
- \[`flake8-builtins`] Restrict `builtin-attribute-shadowing` (`A003`)
to actual shadowed references
([#&#8203;9462](https://togithub.com/astral-sh/ruff/pull/9462))
- \[`flake8-pyi`] Add fix for `generator-return-from-iter-method`
(`PYI058`)
([#&#8203;9355](https://togithub.com/astral-sh/ruff/pull/9355))
- \[`pyflakes`] Don't flag `redefined-while-unused` (`F811`) in `if`
branches ([#&#8203;9418](https://togithub.com/astral-sh/ruff/pull/9418))
- \[`pyupgrade`] Add some additional Python 3.12 typing members to
`deprecated-import`
([#&#8203;9445](https://togithub.com/astral-sh/ruff/pull/9445))
- \[`ruff`] Add fix for `parenthesize-chained-operators` (`RUF021`)
([#&#8203;9449](https://togithub.com/astral-sh/ruff/pull/9449))
- \[`ruff`] Include subscripts and attributes in static key rule
(`RUF011`)
([#&#8203;9416](https://togithub.com/astral-sh/ruff/pull/9416))
- \[`ruff`] Support variable keys in static dictionary key rule
(`RUF011`)
([#&#8203;9411](https://togithub.com/astral-sh/ruff/pull/9411))

##### Formatter

- Generate deterministic IDs when formatting notebooks
([#&#8203;9359](https://togithub.com/astral-sh/ruff/pull/9359))
- Allow `# fmt: skip` with interspersed same-line comments
([#&#8203;9395](https://togithub.com/astral-sh/ruff/pull/9395))
- Parenthesize breaking named expressions in match guards
([#&#8203;9396](https://togithub.com/astral-sh/ruff/pull/9396))

##### Bug fixes

- Add cell indexes to all diagnostics
([#&#8203;9387](https://togithub.com/astral-sh/ruff/pull/9387))
- Avoid infinite loop in constant vs. `None` comparisons
([#&#8203;9376](https://togithub.com/astral-sh/ruff/pull/9376))
- Handle raises with implicit alternate branches
([#&#8203;9377](https://togithub.com/astral-sh/ruff/pull/9377))
- Ignore trailing quotes for unclosed l-brace errors
([#&#8203;9388](https://togithub.com/astral-sh/ruff/pull/9388))
- Respect multi-segment submodule imports when resolving qualified names
([#&#8203;9382](https://togithub.com/astral-sh/ruff/pull/9382))
- Use `DisplayParseError` for stdin parser errors
([#&#8203;9409](https://togithub.com/astral-sh/ruff/pull/9409))
- Use `comment_ranges` for isort directive extraction
([#&#8203;9414](https://togithub.com/astral-sh/ruff/pull/9414))
- Use transformed source code for diagnostic locations
([#&#8203;9408](https://togithub.com/astral-sh/ruff/pull/9408))
- \[`flake8-pyi`] Exclude `warnings.deprecated` and
`typing_extensions.deprecated` arguments
([#&#8203;9423](https://togithub.com/astral-sh/ruff/pull/9423))
- \[`flake8-pyi`] Fix false negative for `unused-private-protocol`
(`PYI046`) with unused generic protocols
([#&#8203;9405](https://togithub.com/astral-sh/ruff/pull/9405))
- \[`pydocstyle`] Disambiguate argument descriptors from section headers
([#&#8203;9427](https://togithub.com/astral-sh/ruff/pull/9427))
- \[`pylint`] Homogenize `PLR0914` message to match other `PLR09XX`
rules ([#&#8203;9399](https://togithub.com/astral-sh/ruff/pull/9399))
- \[`ruff`] Allow `Hashable = None` in type annotations (`RUF013`)
([#&#8203;9442](https://togithub.com/astral-sh/ruff/pull/9442))

##### Documentation

- Fix admonition hyperlink colouring
([#&#8203;9385](https://togithub.com/astral-sh/ruff/pull/9385))
- Add missing preview link
([#&#8203;9386](https://togithub.com/astral-sh/ruff/pull/9386))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **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 [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/fulcrum-so/ziggy-pydust-template).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMjcuMCIsInVwZGF0ZWRJblZlciI6IjM3LjEyNy4wIiwidGFyZ2V0QnJhbmNoIjoiZGV2ZWxvcCJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
  • Loading branch information
renovate[bot] authored Jan 12, 2024
1 parent a705cbd commit 647262d
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 647262d

Please sign in to comment.