Skip to content

Commit

Permalink
simplify semgrep rule
Browse files Browse the repository at this point in the history
  • Loading branch information
clavedeluna committed Feb 6, 2024
1 parent 8eab1d7 commit 5a9c0fc
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions src/core_codemods/requests_verify.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,17 +35,6 @@ class RequestsVerify(SimpleCodemod):
- pattern-inside: |
import httpx
...
- patterns:
- pattern: httpx.$CLASS(..., verify=False, ...)
- pattern-inside: |
import httpx
...
- metavariable-pattern:
metavariable: $CLASS
patterns:
- pattern-either:
- pattern: Client
- pattern: AsyncClient
"""

def on_result_found(self, original_node, updated_node):
Expand Down

0 comments on commit 5a9c0fc

Please sign in to comment.