You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
importrequeststry:
response=requests.get("https://google.com", timeout=1)
response2=responseexceptException:
print(response) # should still raise used-before-assignment
************* Module script1
script1.py:8:10: E0601: Using variable 'response' before assignment (used-before-assignment)
------------------------------------------------------------------
Your code has been rated at 0.00/10 (previous run: 0.00/10, +0.00)
Bug description
This is highlighted as expected
This is not
Command used
Pylint output
Expected behavior
Pylint version
Additional dependencies
The text was updated successfully, but these errors were encountered: