Skip to content

Stabilize RUF060#22919

Merged
ntBre merged 1 commit intobrent/0.15.0from
brent/ruf060-0.15
Jan 29, 2026
Merged

Stabilize RUF060#22919
ntBre merged 1 commit intobrent/0.15.0from
brent/ruf060-0.15

Conversation

@ntBre
Copy link
Contributor

@ntBre ntBre commented Jan 28, 2026

Tests look good, just two very small comma changes to the docs

I cherry-picked the docs changes from last time (#20231)

https://docs.astral.sh/ruff/rules/in-empty-collection/

Tests look good, just two very small comma changes to the docs

I cherry-picked the docs changes from last time (#20231)
@ntBre ntBre added this to the v0.15 milestone Jan 28, 2026
@ntBre ntBre added the rule Implementing or modifying a lint rule label Jan 28, 2026
@ntBre ntBre requested review from amyreese and dylwil3 January 28, 2026 16:29
@astral-sh-bot
Copy link

astral-sh-bot bot commented Jan 28, 2026

ruff-ecosystem results

Linter (stable)

ℹ️ ecosystem check detected linter changes. (+4 -0 violations, +0 -0 fixes in 2 projects; 53 projects unchanged)

zulip/zulip (+1 -0 violations, +0 -0 fixes)

ruff check --no-cache --exit-zero --no-fix --output-format concise --no-preview --select ALL

+ tools/lib/provision.py:155:77: RUF060 Unnecessary membership test on empty collection

pytest-dev/pytest (+3 -0 violations, +0 -0 fixes)

+ testing/test_assertrewrite.py:630:20: RUF060 Unnecessary membership test on empty collection
+ testing/test_assertrewrite.py:630:32: RUF060 Unnecessary membership test on empty collection
+ testing/test_assertrewrite.py:637:39: RUF060 Unnecessary membership test on empty collection

Changes by rule (1 rules affected)

code total + violation - violation + fix - fix
RUF060 4 4 0 0 0

Linter (preview)

✅ ecosystem check detected no linter changes.

@ntBre ntBre merged commit 4dcecd4 into brent/0.15.0 Jan 29, 2026
42 checks passed
@ntBre ntBre deleted the brent/ruf060-0.15 branch January 29, 2026 13:59
@ntBre ntBre mentioned this pull request Jan 29, 2026
3 tasks
ntBre added a commit that referenced this pull request Feb 3, 2026
Tests look good, just two very small comma changes to the docs

I cherry-picked the docs changes from last time (#20231)

https://docs.astral.sh/ruff/rules/in-empty-collection/
ntBre added a commit that referenced this pull request Feb 3, 2026
Tests look good, just two very small comma changes to the docs

I cherry-picked the docs changes from last time (#20231)

https://docs.astral.sh/ruff/rules/in-empty-collection/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

rule Implementing or modifying a lint rule

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants