mirror of
https://github.com/astral-sh/ruff.git
synced 2025-09-29 21:35:58 +00:00
33 lines
327 B
Python
33 lines
327 B
Python
#: E722
|
|
try:
|
|
pass
|
|
except:
|
|
pass
|
|
#: E722
|
|
try:
|
|
pass
|
|
except Exception:
|
|
pass
|
|
except:
|
|
pass
|
|
#: E722
|
|
try:
|
|
pass
|
|
except:
|
|
pass
|
|
#: Okay
|
|
fake_code = """"
|
|
try:
|
|
do_something()
|
|
except:
|
|
pass
|
|
"""
|
|
try:
|
|
pass
|
|
except Exception:
|
|
pass
|
|
#: Okay
|
|
from . import compute_type
|
|
|
|
if compute_type(foo) == 5:
|
|
pass
|