Skip to content

Update rule-generation scripts to match latest conventions#1758

Merged
charliermarsh merged 1 commit intomainfrom
charlie/scripts
Jan 10, 2023
Merged

Update rule-generation scripts to match latest conventions#1758
charliermarsh merged 1 commit intomainfrom
charlie/scripts

Conversation

@charliermarsh
Copy link
Member

Resolves #1755.

Improve rule
@charliermarsh charliermarsh merged commit 1a09fff into main Jan 10, 2023
@charliermarsh charliermarsh deleted the charlie/scripts branch January 10, 2023 00:55
renovate bot referenced this pull request in ixm-one/pytest-cmake-presets Jan 10, 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.216` ->
`^0.0.217` |
[![age](https://badges.renovateapi.com/packages/pypi/ruff/0.0.217/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/pypi/ruff/0.0.217/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/pypi/ruff/0.0.217/compatibility-slim/0.0.216)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/pypi/ruff/0.0.217/confidence-slim/0.0.216)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

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

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

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

#### What's Changed

- Cache build artifacts using Swatinem/rust-cache@v1 by
[@&#8203;ducaale](https://togithub.com/ducaale) in
[https://github.com/charliermarsh/ruff/pull/1750](https://togithub.com/charliermarsh/ruff/pull/1750)
- Enable project-specific typing module re-exports by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[https://github.com/charliermarsh/ruff/pull/1754](https://togithub.com/charliermarsh/ruff/pull/1754)
- Omit `sys.version_info` and `sys.platform` checks from ternary rule by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[https://github.com/charliermarsh/ruff/pull/1756](https://togithub.com/charliermarsh/ruff/pull/1756)
- Add a helper for any-like operations by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[https://github.com/charliermarsh/ruff/pull/1757](https://togithub.com/charliermarsh/ruff/pull/1757)
- Update rule-generation `scripts` to match latest conventions by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[https://github.com/charliermarsh/ruff/pull/1758](https://togithub.com/charliermarsh/ruff/pull/1758)
- Update documentation to match latest terminology by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[https://github.com/charliermarsh/ruff/pull/1760](https://togithub.com/charliermarsh/ruff/pull/1760)

#### New Contributors

- [@&#8203;ducaale](https://togithub.com/ducaale) made their first
contribution in
[https://github.com/charliermarsh/ruff/pull/1750](https://togithub.com/charliermarsh/ruff/pull/1750)

**Full Changelog**:
astral-sh/ruff@v0.0.216...v0.0.217

</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:eyJjcmVhdGVkSW5WZXIiOiIzNC45NS4wIiwidXBkYXRlZEluVmVyIjoiMzQuOTUuMCJ9-->

Signed-off-by: Renovate Bot <[email protected]>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
BurntSushi added a commit that referenced this pull request Feb 12, 2026
… in more cases

This is a quick fix to make conditional symbols in auto-import work. In
essence, this flips the current failure mode of "don't suggest a symbol
that is available" to "possibly suggest a symbol that isn't available."
I think suggesting a symbol that isn't available is probably the better
failure mode.

Fixes #1758, Ref #2795
BurntSushi added a commit that referenced this pull request Feb 12, 2026
… in more cases

This is a quick fix to make conditional symbols in auto-import work. In
essence, this flips the current failure mode of "don't suggest a symbol
that is available" to "possibly suggest a symbol that isn't available."
I think suggesting a symbol that isn't available is probably the better
failure mode.

Fixes #1758, Ref #2795
BurntSushi added a commit that referenced this pull request Feb 12, 2026
… in more cases

This is a quick fix to make conditional symbols in auto-import work. In
essence, this flips the current failure mode of "don't suggest a symbol
that is available" to "possibly suggest a symbol that isn't available."
I think suggesting a symbol that isn't available is probably the better
failure mode.

Fixes #1758, Ref #2795
BurntSushi added a commit that referenced this pull request Feb 12, 2026
… in more cases

This is a quick fix to make conditional symbols in auto-import work. In
essence, this flips the current failure mode of "don't suggest a symbol
that is available" to "possibly suggest a symbol that isn't available."
I think suggesting a symbol that isn't available is probably the better
failure mode.

Fixes #1758, Ref #2795
BurntSushi added a commit that referenced this pull request Feb 12, 2026
… in more cases

This is a quick fix to make conditional symbols in auto-import work. In
essence, this flips the current failure mode of "don't suggest a symbol
that is available" to "possibly suggest a symbol that isn't available."
I think suggesting a symbol that isn't available is probably the better
failure mode.

Fixes #1758, Ref #2795
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.

Update rule-generation scripts to match newer contents

1 participant