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

change requests timeout codemod semgrep pattern #256

Merged
merged 1 commit into from
Feb 13, 2024

Conversation

clavedeluna
Copy link
Contributor

Overview

change semgrep rule for codemod to not match chained functions

Closes #244

More context: the only other codemod that suffers from this is the bad-lock-with-statement. The issue there is the way we're using metavariable-pattern and focus-variable makes this fix not as easy.

Copy link
Member

@drdavella drdavella left a comment

Choose a reason for hiding this comment

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

Nice fix! I'll backport a bugfix release once this is merged.

Copy link

sonarcloud bot commented Feb 13, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@clavedeluna clavedeluna added this pull request to the merge queue Feb 13, 2024
Merged via the queue into main with commit 4584840 Feb 13, 2024
12 checks passed
@clavedeluna clavedeluna deleted the fix-requests-timeout branch February 13, 2024 17:48
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.

Add requests timeout codemod is adding timeout kwarg to other methods
3 participants