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

django_rawsql_used: support keyword arguments used in RawSQL #765

Merged
merged 1 commit into from Jul 24, 2023

Conversation

kevinmarsh
Copy link
Contributor

Fix rule B611: django_rawsql_used breaking when a user passes in keyword arguments to Django's RawSQL.

Closes #764

@amrishparmar
Copy link

Is it possible to try and progress this? Presumably we just need an approving review plus a rebase (to get the checks running and passing).

@kevinmarsh
Copy link
Contributor Author

Have rebased and pushed the fix, this is still causing noise/breaking if someone can please approve running the workflows/checks so this issue can be resolved?

Fix rule B611: django_rawsql_used breaking when a user passes in
keyword arguments to Django's `RawSQL`.

Resolves: PyCQA#764
@kevinmarsh
Copy link
Contributor Author

Just rebased again and all checks pass on my fork: https://github.com/kevinmarsh/bandit/actions/runs/5648344872

@sigmavirus24 sigmavirus24 enabled auto-merge (squash) July 24, 2023 19:26
@sigmavirus24 sigmavirus24 merged commit c420d1d into PyCQA:main Jul 24, 2023
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Django's RawSQL raises error if you use kwargs rather than args
3 participants