Skip to content

Comments

Add ESLint, Prettier, and TypeScript checks#1384

Merged
charliermarsh merged 1 commit intomainfrom
charlie/tsc-eslint
Dec 26, 2022
Merged

Add ESLint, Prettier, and TypeScript checks#1384
charliermarsh merged 1 commit intomainfrom
charlie/tsc-eslint

Conversation

@charliermarsh
Copy link
Member

No description provided.

@charliermarsh charliermarsh force-pushed the charlie/preview branch 9 times, most recently from f7ea66f to 5a8ec5c Compare December 26, 2022 19:41
Base automatically changed from charlie/preview to main December 26, 2022 19:52
@charliermarsh charliermarsh merged commit 20d6b21 into main Dec 26, 2022
@charliermarsh charliermarsh deleted the charlie/tsc-eslint branch December 26, 2022 20:08
renovate bot referenced this pull request in ixm-one/pytest-cmake-presets Dec 27, 2022
[![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.194` ->
`^0.0.195` |
[![age](https://badges.renovateapi.com/packages/pypi/ruff/0.0.195/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/pypi/ruff/0.0.195/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/pypi/ruff/0.0.195/compatibility-slim/0.0.194)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/pypi/ruff/0.0.195/confidence-slim/0.0.194)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

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

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

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

#### What's Changed

- Add support for `ruff.toml` by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[https://github.com/charliermarsh/ruff/pull/1378](https://togithub.com/charliermarsh/ruff/pull/1378)
- Update rust python to handle files with BOM by
[@&#8203;squiddy](https://togithub.com/squiddy) in
[https://github.com/charliermarsh/ruff/pull/1379](https://togithub.com/charliermarsh/ruff/pull/1379)
- Only re-associate inline comments during normalization when necessary
by [@&#8203;squiddy](https://togithub.com/squiddy) in
[https://github.com/charliermarsh/ruff/pull/1380](https://togithub.com/charliermarsh/ruff/pull/1380)
- Magic Trailing Commas in isort by
[@&#8203;colin99d](https://togithub.com/colin99d) in
[https://github.com/charliermarsh/ruff/pull/1363](https://togithub.com/charliermarsh/ruff/pull/1363)
- Web playground with WASM by
[@&#8203;squiddy](https://togithub.com/squiddy) in
[https://github.com/charliermarsh/ruff/pull/1279](https://togithub.com/charliermarsh/ruff/pull/1279)
- Enable preview deployments for playground by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[https://github.com/charliermarsh/ruff/pull/1383](https://togithub.com/charliermarsh/ruff/pull/1383)
- Add ESLint, Prettier, and TypeScript checks by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[https://github.com/charliermarsh/ruff/pull/1384](https://togithub.com/charliermarsh/ruff/pull/1384)
- Add badge to playground by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[https://github.com/charliermarsh/ruff/pull/1393](https://togithub.com/charliermarsh/ruff/pull/1393)
- Choose a more interesting example snippet by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[https://github.com/charliermarsh/ruff/pull/1394](https://togithub.com/charliermarsh/ruff/pull/1394)
- Enable Quick Fix in the playground by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[https://github.com/charliermarsh/ruff/pull/1395](https://togithub.com/charliermarsh/ruff/pull/1395)
- Only run playground release in main repo by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[https://github.com/charliermarsh/ruff/pull/1396](https://togithub.com/charliermarsh/ruff/pull/1396)
- Now replace typing.Text with str by
[@&#8203;colin99d](https://togithub.com/colin99d) in
[https://github.com/charliermarsh/ruff/pull/1391](https://togithub.com/charliermarsh/ruff/pull/1391)

**Full Changelog**:
astral-sh/ruff@v0.0.194...v0.0.195

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

Signed-off-by: Renovate Bot <[email protected]>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
alex added a commit to alex/ruff that referenced this pull request Feb 6, 2026
Add tests for:
- Always-true condition nested inside a narrowing branch
- Match statement with terminal default branch (class patterns)
- Match statement with reassignment and terminal default (issue astral-sh#1384)

Co-Authored-By: Claude Opus 4.6 <[email protected]>
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.

1 participant