Skip to content

Respect tuple assignments in typing analyzer#9969

Merged
charliermarsh merged 1 commit intomainfrom
charlie/p
Feb 13, 2024
Merged

Respect tuple assignments in typing analyzer#9969
charliermarsh merged 1 commit intomainfrom
charlie/p

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
@charliermarsh charliermarsh deleted the charlie/p branch February 13, 2024 05:02
@github-actions
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.

1 participant