We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Here's a code snippet of what's triggering the error. It's happening in a python codebase!
>> Issue: [B113:request_without_timeout] Requests call without timeout Severity: Medium Confidence: Low CWE: CWE-400 (https://cwe.mitre.org/data/definitions/400.html) More Info: https://bandit.readthedocs.io/en/0.0.0/plugins/b113_request_without_timeout.html Location: whatnot/repositories/orders.py:95:8 94 return [ 95 refund_requests_by_order_ids.get(order_id) # nosec B101 96 for order_id in str_order_ids
1. Create any python file with `requests` in a function name 2. Run the linter
It ignores requests when it's nested in a function
requests
1.7.5 (Default)
3.11 (Default)
No response
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
Here's a code snippet of what's triggering the error. It's happening in a python codebase!
Reproduction steps
Expected behavior
It ignores
requests
when it's nested in a functionBandit version
1.7.5 (Default)
Python version
3.11 (Default)
Additional context
No response
The text was updated successfully, but these errors were encountered: