Skip to content

Conversation

@charliermarsh
Copy link
Member

This did fix #1894, but was a little premature. toml doesn't actually depend on toml-edit yet, and v0.5.11 was mostly about deprecations AFAICT. So upgrading might solve that issue, but could introduce other incompatibilities, and I'd like to minimize churn. I expect that toml will have a new release soon, so we can revert this revert.

Reverts #2040.

@charliermarsh charliermarsh merged commit 465943a into main Jan 21, 2023
@charliermarsh charliermarsh deleted the revert-2040-charlie/toml branch January 21, 2023 12:54
renovate bot referenced this pull request in ixm-one/pytest-cmake-presets Jan 21, 2023
[![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://togithub.com/charliermarsh/ruff) | `^0.0.228` ->
`^0.0.229` |
[![age](https://badges.renovateapi.com/packages/pypi/ruff/0.0.229/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/pypi/ruff/0.0.229/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/pypi/ruff/0.0.229/compatibility-slim/0.0.228)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/pypi/ruff/0.0.229/confidence-slim/0.0.228)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>charliermarsh/ruff</summary>

###
[`v0.0.229`](https://togithub.com/charliermarsh/ruff/releases/tag/v0.0.229)

[Compare
Source](https://togithub.com/charliermarsh/ruff/compare/v0.0.228...v0.0.229)

##### What's Changed

- README: `--force-exclude` is already set by
[@&#8203;hugovk](https://togithub.com/hugovk) in
[https://github.com/charliermarsh/ruff/pull/2042](https://togithub.com/charliermarsh/ruff/pull/2042)
- Upgrade to toml v0.5.11 by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[https://github.com/charliermarsh/ruff/pull/2040](https://togithub.com/charliermarsh/ruff/pull/2040)
- Add support for pycodestyle E101 by
[@&#8203;ericroberts](https://togithub.com/ericroberts) in
[https://github.com/charliermarsh/ruff/pull/2038](https://togithub.com/charliermarsh/ruff/pull/2038)
- \[`flake8-executable`] EXE003-005 by
[@&#8203;sbrugman](https://togithub.com/sbrugman) in
[https://github.com/charliermarsh/ruff/pull/2023](https://togithub.com/charliermarsh/ruff/pull/2023)
- perf: Reduce allocations by
[@&#8203;Stranger6667](https://togithub.com/Stranger6667) in
[https://github.com/charliermarsh/ruff/pull/2045](https://togithub.com/charliermarsh/ruff/pull/2045)
- refactor: RuleOrigin, RuleCodePrefix and Rule::origin by
[@&#8203;not-my-profile](https://togithub.com/not-my-profile) in
[https://github.com/charliermarsh/ruff/pull/2029](https://togithub.com/charliermarsh/ruff/pull/2029)
- Add scaffolding for `flake8-type-checking` extension by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[https://github.com/charliermarsh/ruff/pull/2048](https://togithub.com/charliermarsh/ruff/pull/2048)
- De-duplicate SIM102 by [@&#8203;harupy](https://togithub.com/harupy)
in
[https://github.com/charliermarsh/ruff/pull/2050](https://togithub.com/charliermarsh/ruff/pull/2050)
- Fix S101 range to only highlight `assert` by
[@&#8203;harupy](https://togithub.com/harupy) in
[https://github.com/charliermarsh/ruff/pull/2052](https://togithub.com/charliermarsh/ruff/pull/2052)
- Avoid removing comments in RUF005 by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[https://github.com/charliermarsh/ruff/pull/2057](https://togithub.com/charliermarsh/ruff/pull/2057)
- Revert "Upgrade to toml v0.5.11" by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[https://github.com/charliermarsh/ruff/pull/2058](https://togithub.com/charliermarsh/ruff/pull/2058)
- Pyupgrade: Printf string formatting by
[@&#8203;colin99d](https://togithub.com/colin99d) in
[https://github.com/charliermarsh/ruff/pull/1803](https://togithub.com/charliermarsh/ruff/pull/1803)
- \[`flake8-builtins`] Add `builtins-ignorelist` Option by
[@&#8203;saadmk11](https://togithub.com/saadmk11) in
[https://github.com/charliermarsh/ruff/pull/2061](https://togithub.com/charliermarsh/ruff/pull/2061)
- feat: plugin scaffold for tryceratops with TRY300 by
[@&#8203;sbrugman](https://togithub.com/sbrugman) in
[https://github.com/charliermarsh/ruff/pull/2055](https://togithub.com/charliermarsh/ruff/pull/2055)
- Avoid flagging redefined imports as unused in same-scope by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[https://github.com/charliermarsh/ruff/pull/2065](https://togithub.com/charliermarsh/ruff/pull/2065)

##### New Contributors

- [@&#8203;hugovk](https://togithub.com/hugovk) made their first
contribution in
[https://github.com/charliermarsh/ruff/pull/2042](https://togithub.com/charliermarsh/ruff/pull/2042)
- [@&#8203;ericroberts](https://togithub.com/ericroberts) made their
first contribution in
[https://github.com/charliermarsh/ruff/pull/2038](https://togithub.com/charliermarsh/ruff/pull/2038)
- [@&#8203;sbrugman](https://togithub.com/sbrugman) made their first
contribution in
[https://github.com/charliermarsh/ruff/pull/2023](https://togithub.com/charliermarsh/ruff/pull/2023)

**Full Changelog**:
astral-sh/ruff@v0.0.228...v0.0.229

</details>

---

### Configuration

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

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, 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://app.renovatebot.com/dashboard#github/ixm-one/pytest-cmake-presets).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC4xMDguMSIsInVwZGF0ZWRJblZlciI6IjM0LjEwOC4xIn0=-->

Signed-off-by: Renovate Bot <[email protected]>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

TOML parse error: Invalid table header: Duplicate key version

2 participants