[flake8-pyi] Stabilize: include all python file types for PYI006#15340
[flake8-pyi] Stabilize: include all python file types for PYI006#15340MichaReiser merged 2 commits intoruff-0.9from
flake8-pyi] Stabilize: include all python file types for PYI006#15340Conversation
| ); | ||
| } | ||
| } else { | ||
| fn bad_version_info_comparison( |
There was a problem hiding this comment.
The diff here looks misleading. All I did is to remove the outermost if
|
| 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 |
|
I'd like to have a second opinion on a few ecosystem results. There are instances where the
Rewriting some of those just feels slightly more awkward |
That's a great catch. No, I don't think it should apply in those cases. Let's hold off on stabilising the PYI066 change, in that case. |
|
I created an issue to follow up on |
flake8-pyi] Stabilize: include all python file types for PYI006 and PYI066flake8-pyi] Stabilize: include all python file types for PYI006
83edadf to
d043583
Compare
Summary
Stabilizes the behavior changes introduced in #14059
PYI006andnow also apply to non stub files.PYI066Test plan
There are no open or recently closed issues around
PYI006orPYI066