Skip to content

change requests timeout codemod semgrep pattern#256

Merged
clavedeluna merged 1 commit intomainfrom
fix-requests-timeout
Feb 13, 2024
Merged

change requests timeout codemod semgrep pattern#256
clavedeluna merged 1 commit intomainfrom
fix-requests-timeout

Conversation

@clavedeluna
Copy link
Copy Markdown
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
Copy Markdown
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.

@sonarqubecloud
Copy link
Copy Markdown

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
@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