Skip to content

[wps-light] Implement list-multiplication (WPS435) - #5

Open
Lokejoke wants to merge 7 commits into
wps-light-rulesfrom
list-multiplication
Open

Lokejoke wants to merge 7 commits into
wps-light-rulesfrom
list-multiplication

Conversation

@Lokejoke

@Lokejoke Lokejoke commented Nov 16, 2024 •

Copy link
Copy Markdown
Owner

Summary

This PR implements list-multiplication rule.
Checking for multiplication of nested lists or mutable objects.

Test Plan

cargo test

@Lokejoke
Lokejoke marked this pull request as ready for review November 16, 2024 06:51
@github-actions

github-actions Bot commented Nov 16, 2024 •

Copy link
Copy Markdown

ruff-ecosystem results

Linter (stable)

✅ ecosystem check detected no linter changes.

Linter (preview)

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

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

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

+ providers/tests/google/cloud/transfers/test_sql_to_gcs.py:471:34: WPS435 Multiplication of list of mutable objects
+ providers/tests/google/cloud/transfers/test_sql_to_gcs.py:62:26: WPS435 Multiplication of list of mutable objects

Changes by rule (1 rules affected)

code total + violation - violation + fix - fix
WPS435 2 2 0 0 0

@Lokejoke Lokejoke changed the title [wps-light] Implement list-multiplication (WPS435) [wps-light] Implement list-multiplication (WPS435) Nov 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants