Skip to content
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

Respect tuple assignments in typing analyzer #9969

Merged
merged 1 commit into from Feb 13, 2024
Merged

Respect tuple assignments in typing analyzer #9969

merged 1 commit into from Feb 13, 2024

Conversation

charliermarsh
Copy link
Member

Summary

Just addressing some discrepancies between the analyzers like is_dict and the logic that's matured in find_binding_value.

@charliermarsh charliermarsh added the bug Something isn't working label Feb 13, 2024
@charliermarsh charliermarsh marked this pull request as ready for review February 13, 2024 04:48
@charliermarsh charliermarsh enabled auto-merge (squash) February 13, 2024 04:57
@charliermarsh charliermarsh merged commit d96a0db into main Feb 13, 2024
17 checks passed
@charliermarsh charliermarsh deleted the charlie/p branch February 13, 2024 05:02
Copy link
Contributor

ruff-ecosystem results

Linter (stable)

✅ ecosystem check detected no linter changes.

Linter (preview)

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

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

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

+ airflow/providers/google/cloud/operators/bigquery.py:186:17: PERF403 Use a dictionary comprehension instead of a for-loop

Changes by rule (1 rules affected)

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

nkxxll pushed a commit to nkxxll/ruff that referenced this pull request Mar 10, 2024
## Summary

Just addressing some discrepancies between the analyzers like `is_dict`
and the logic that's matured in `find_binding_value`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant