Skip to content

Support httpx library in requests-verify codemod#243

Merged
clavedeluna merged 4 commits intomainfrom
httpx-verify
Feb 14, 2024
Merged

Support httpx library in requests-verify codemod#243
clavedeluna merged 4 commits intomainfrom
httpx-verify

Conversation

@clavedeluna
Copy link
Copy Markdown
Contributor

@clavedeluna clavedeluna commented Feb 6, 2024

Overview

httpx is a requests library with an API almost identical to requests so we're adding it in this codemod

@clavedeluna clavedeluna changed the title Httpx verify Support httpx library in requests-verify codemod Feb 6, 2024
...
- patterns:
- pattern: httpx.$F(..., verify=False, ...)
- pattern-inside: |
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I wanted to use metavariable-pattern to just do $LIBRARY.$F.... but using import $LIBRARY in pattern-inside did not work?? weird

@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud bot commented Feb 6, 2024

Quality Gate Passed Quality Gate passed

Kudos, no new issues were introduced!

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

See analysis details on SonarCloud

@clavedeluna clavedeluna marked this pull request as ready for review February 6, 2024 18:03
@clavedeluna clavedeluna added this pull request to the merge queue Feb 14, 2024
Merged via the queue into main with commit a57bc7d Feb 14, 2024
@clavedeluna clavedeluna deleted the httpx-verify branch February 14, 2024 15:31
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.

3 participants