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

Mark PERF403 as a preview rule #7396

Merged
merged 1 commit into from
Sep 15, 2023
Merged

Mark PERF403 as a preview rule #7396

merged 1 commit into from
Sep 15, 2023

Conversation

charliermarsh
Copy link
Member

No description provided.

@charliermarsh charliermarsh added the rule Implementing or modifying a lint rule label Sep 15, 2023
@charliermarsh charliermarsh enabled auto-merge (squash) September 15, 2023 01:48
@charliermarsh charliermarsh merged commit 6163c99 into main Sep 15, 2023
@charliermarsh charliermarsh deleted the charlie/perf403 branch September 15, 2023 01:57
@github-actions
Copy link
Contributor

PR Check Results

Ecosystem

ℹ️ ecosystem check detected changes. (+0, -22, 0 error(s))

airflow (+0, -5)

- airflow/providers/cncf/kubernetes/executors/kubernetes_executor_utils.py:163:17: PERF403 Use a dictionary comprehension instead of a for-loop
- airflow/providers/exasol/hooks/exasol.py:68:17: PERF403 Use a dictionary comprehension instead of a for-loop
- airflow/providers/mysql/hooks/mysql.py:170:17: PERF403 Use a dictionary comprehension instead of a for-loop
- airflow/providers/postgres/hooks/postgres.py:153:17: PERF403 Use a dictionary comprehension instead of a for-loop
- tests/providers/apache/spark/hooks/test_spark_submit.py:72:17: PERF403 Use a dictionary comprehension instead of a for-loop

rotki (+0, -3)

- rotkehlchen/api/rest.py:506:13: PERF403 Use a dictionary comprehension instead of a for-loop
- rotkehlchen/globaldb/handler.py:899:17: PERF403 Use a dictionary comprehension instead of a for-loop
- rotkehlchen/tests/utils/database.py:104:13: PERF403 Use a dictionary comprehension instead of a for-loop

sphinx (+0, -13)

- 
-    |
-    |             ^^^^^^^^^^^^ PERF403
- 28 |     for info in reversed(list(request.node.iter_markers("apidoc"))):
- 29 |         for i, a in enumerate(info.args):
- 30 |             pargs[i] = a
- 31 |         kwargs.update(info.kwargs)
- 76 |     for info in reversed(list(request.node.iter_markers("sphinx"))):
- 77 |         for i, a in enumerate(info.args):
- 78 |             pargs[i] = a
- 79 |         kwargs.update(info.kwargs)
- sphinx/testing/fixtures.py:78:13: PERF403 Use a dictionary comprehension instead of a for-loop
- tests/test_ext_apidoc.py:30:13: PERF403 Use a dictionary comprehension instead of a for-loop

zulip (+0, -1)

- analytics/views/stats.py:456:9: PERF403 Use a dictionary comprehension instead of a for-loop

Rules changed: 1
Rule Changes Additions Removals
PERF403 11 0 11

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.

1 participant