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

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

Open
wants to merge 7 commits into
base: wps-light-rules
Choose a base branch
from

Conversation

Lokejoke
Copy link
Owner

@Lokejoke Lokejoke commented Nov 16, 2024

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
Copy link

github-actions bot commented Nov 16, 2024

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