Skip to content

Comments

Cancel outdated in-progress workflow automatically#1652

Merged
charliermarsh merged 1 commit intoastral-sh:mainfrom
messense:ci-concurrency
Jan 5, 2023
Merged

Cancel outdated in-progress workflow automatically#1652
charliermarsh merged 1 commit intoastral-sh:mainfrom
messense:ci-concurrency

Conversation

@messense
Copy link
Contributor

@messense messense commented Jan 5, 2023

@charliermarsh charliermarsh merged commit 6a1edeb into astral-sh:main Jan 5, 2023
@messense messense deleted the ci-concurrency branch January 5, 2023 03:03
renovate bot referenced this pull request in ixm-one/pytest-cmake-presets Jan 5, 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.210` ->
`^0.0.211` |
[![age](https://badges.renovateapi.com/packages/pypi/ruff/0.0.211/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/pypi/ruff/0.0.211/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/pypi/ruff/0.0.211/compatibility-slim/0.0.210)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/pypi/ruff/0.0.211/confidence-slim/0.0.210)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

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

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

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

#### What's Changed

- Implement `SIM220` and `SIM221` by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[https://github.com/charliermarsh/ruff/pull/1630](https://togithub.com/charliermarsh/ruff/pull/1630)
- Implement flake8-simplify SIM105 rule by
[@&#8203;messense](https://togithub.com/messense) in
[https://github.com/charliermarsh/ruff/pull/1621](https://togithub.com/charliermarsh/ruff/pull/1621)
- Fix `SIM105` by [@&#8203;harupy](https://togithub.com/harupy) in
[https://github.com/charliermarsh/ruff/pull/1633](https://togithub.com/charliermarsh/ruff/pull/1633)
- Adding my company to the "used in" category of the Readme. by
[@&#8203;colin99d](https://togithub.com/colin99d) in
[https://github.com/charliermarsh/ruff/pull/1631](https://togithub.com/charliermarsh/ruff/pull/1631)
- Implement flake8-bandit rule `S103` by
[@&#8203;edgarrmondragon](https://togithub.com/edgarrmondragon) in
[https://github.com/charliermarsh/ruff/pull/1636](https://togithub.com/charliermarsh/ruff/pull/1636)
- Rename flake8-bandit rules from plugins to checks by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[https://github.com/charliermarsh/ruff/pull/1637](https://togithub.com/charliermarsh/ruff/pull/1637)
- Tweak Yoda condition message by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[https://github.com/charliermarsh/ruff/pull/1638](https://togithub.com/charliermarsh/ruff/pull/1638)
- Note a few more incompatibilities by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[https://github.com/charliermarsh/ruff/pull/1639](https://togithub.com/charliermarsh/ruff/pull/1639)
- Add task-tags & ignore-overlong-task-comments settings by
[@&#8203;not-my-profile](https://togithub.com/not-my-profile) in
[https://github.com/charliermarsh/ruff/pull/1550](https://togithub.com/charliermarsh/ruff/pull/1550)
- Add badge JSON by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[https://github.com/charliermarsh/ruff/pull/1641](https://togithub.com/charliermarsh/ruff/pull/1641)
- Add Ruff badge to README by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[https://github.com/charliermarsh/ruff/pull/1642](https://togithub.com/charliermarsh/ruff/pull/1642)
- DRY up unused import removal code by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[https://github.com/charliermarsh/ruff/pull/1643](https://togithub.com/charliermarsh/ruff/pull/1643)
- Implement builtin import removal by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[https://github.com/charliermarsh/ruff/pull/1645](https://togithub.com/charliermarsh/ruff/pull/1645)
- Move external licenses to separate directory by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[https://github.com/charliermarsh/ruff/pull/1648](https://togithub.com/charliermarsh/ruff/pull/1648)
- Implement nested-if detection by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[https://github.com/charliermarsh/ruff/pull/1649](https://togithub.com/charliermarsh/ruff/pull/1649)
- Implement flake8-bandit rule `S108` by
[@&#8203;edgarrmondragon](https://togithub.com/edgarrmondragon) in
[https://github.com/charliermarsh/ruff/pull/1644](https://togithub.com/charliermarsh/ruff/pull/1644)
- Implement nested with detection (SIM117) by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[https://github.com/charliermarsh/ruff/pull/1651](https://togithub.com/charliermarsh/ruff/pull/1651)
- Cancel outdated in-progress workflow automatically by
[@&#8203;messense](https://togithub.com/messense) in
[https://github.com/charliermarsh/ruff/pull/1652](https://togithub.com/charliermarsh/ruff/pull/1652)
- Implement flake8-simplify SIM107 by
[@&#8203;messense](https://togithub.com/messense) in
[https://github.com/charliermarsh/ruff/pull/1650](https://togithub.com/charliermarsh/ruff/pull/1650)
- Implement `SIM110` and `SIM111` (conversion to `any` and `all`) by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[https://github.com/charliermarsh/ruff/pull/1653](https://togithub.com/charliermarsh/ruff/pull/1653)

**Full Changelog**:
astral-sh/ruff@v0.0.210...v0.0.211

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

Signed-off-by: Renovate Bot <[email protected]>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
ficd0 added a commit to ficd0/ruff that referenced this pull request Jan 2, 2026
This commit fixes astral-sh#1652, improving support for LSP clients that don't support pull diagnostics by doing the following:

- Implemented support for the `didSave` notification type:
  - Registered handler and advertise this capability on server init
  - Updated tests: init snapshots now include the new capability
- On `didSave` for any document, we call `publish_diagnostics_if_needed` on any open documents.
ficd0 added a commit to ficd0/ruff that referenced this pull request Jan 2, 2026
This commit fixes issue astral-sh#1652, improving support for LSP clients that
don't support pull diagnostics by doing the following:

- Implemented support for the `didSave` notification type:
  - Registered handler and advertise this capability on server init
  - Updated tests: init snapshots now include the new capability
- On `didSave` for any document, we call `publish_diagnostics_if_needed`
on any open documents.
ficd0 added a commit to ficd0/ruff that referenced this pull request Jan 2, 2026
This commit fixes issue astral-sh#1652, improving support for LSP clients that
don't support pull diagnostics by doing the following:

- Implemented support for the `didSave` notification type:
  - Registered handler and advertise this capability on server init
  - Updated tests: init snapshots now include the new capability
- On `didSave` for any document, we call `publish_diagnostics_if_needed`
on any open documents.
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.

2 participants