Skip to content

[ruff] Stabilize post-init-default (RUF033)#15352

Merged
MichaReiser merged 1 commit intoruff-0.9from
micha/post-init-default
Jan 8, 2025
Merged

[ruff] Stabilize post-init-default (RUF033)#15352
MichaReiser merged 1 commit intoruff-0.9from
micha/post-init-default

Conversation

@MichaReiser
Copy link
Member

@MichaReiser MichaReiser commented Jan 8, 2025

Summary

Stabilizes the post-init-default rule

Test Plan

There are no open issues or PRs related to this rule.

There are no ecosystem changes... Makes this somewhat hard to judge.

@MichaReiser MichaReiser added the rule Implementing or modifying a lint rule label Jan 8, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Jan 8, 2025

ruff-ecosystem results

Linter (stable)

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

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

+ testing/_py/test_local.py:21:12: PYI006 Use `<` or `>=` for `sys.version_info` comparisons

Changes by rule (1 rules affected)

code total + violation - violation + fix - fix
PYI006 1 1 0 0 0

Linter (preview)

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

apache/airflow (+0 -2 violations, +0 -0 fixes)

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

- airflow/decorators/condition.py:32:35: TC008 [*] Remove quotes from type alias
- airflow/decorators/condition.py:33:35: TC008 [*] Remove quotes from type alias

latchbio/latch (+0 -2 violations, +0 -0 fixes)

ruff check --no-cache --exit-zero --ignore RUF9 --no-fix --output-format concise --preview

- src/latch/ldata/_transfer/upload.py:30:32: TC008 [*] Remove quotes from type alias
- src/latch/ldata/_transfer/upload.py:31:35: TC008 [*] Remove quotes from type alias

Changes by rule (1 rules affected)

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

@MichaReiser MichaReiser marked this pull request as ready for review January 8, 2025 13:52
@MichaReiser MichaReiser merged commit ad1167a into ruff-0.9 Jan 8, 2025
@MichaReiser MichaReiser deleted the micha/post-init-default branch January 8, 2025 14:40
@MichaReiser MichaReiser mentioned this pull request Jan 8, 2025
2 tasks
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.

2 participants