-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[flake8-pyi
] Stabilize: include all python file types for PYI006
#15340
Conversation
); | ||
} | ||
} else { | ||
fn bad_version_info_comparison( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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 PYI066
flake8-pyi
] Stabilize: include all python file types for PYI006
83edadf
to
d043583
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
Summary
Stabilizes the behavior changes introduced in #14059
PYI006
andnow also apply to non stub files.PYI066
Test plan
There are no open or recently closed issues around
PYI006
orPYI066