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

Support httpx library in requests-verify codemod #243

Merged
merged 4 commits into from
Feb 14, 2024
Merged

Conversation

clavedeluna
Copy link
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
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

Copy link

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
12 checks passed
@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