Skip to content

[flake8-bandit] Check for builtins instead of builtin (S102, PTH123) - #15443

Merged
charliermarsh merged 2 commits into
astral-sh:mainfrom
InSyncWithFoo:S102
Jan 13, 2025
Merged

[flake8-bandit] Check for builtins instead of builtin (S102, PTH123)#15443
charliermarsh merged 2 commits into
astral-sh:mainfrom
InSyncWithFoo:S102

Conversation

@InSyncWithFoo

Copy link
Copy Markdown
Contributor

Summary

Resolves #15442.

Test Plan

cargo nextest run and cargo insta test.

@github-actions

github-actions Bot commented Jan 12, 2025

Copy link
Copy Markdown
Contributor

ruff-ecosystem results

Linter (stable)

✅ ecosystem check detected no linter changes.

Linter (preview)

✅ ecosystem check detected no linter changes.

@InSyncWithFoo

Copy link
Copy Markdown
Contributor Author

Should these rules be renamed as well?

@charliermarsh charliermarsh left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@charliermarsh charliermarsh added the bug Something isn't working label Jan 13, 2025
@charliermarsh
charliermarsh merged commit 4f37fde into astral-sh:main Jan 13, 2025
@InSyncWithFoo
InSyncWithFoo deleted the S102 branch January 13, 2025 00:56
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.

PTH123 and S102 check builtin instead of builtins

2 participants