mirror of
https://github.com/astral-sh/ruff.git
synced 2025-09-29 13:25:17 +00:00
11 lines
153 B
Python
11 lines
153 B
Python
"""
|
|
Should emit:
|
|
B016 - on lines 6, 7, and 8
|
|
"""
|
|
|
|
raise False
|
|
raise 1
|
|
raise "string"
|
|
raise Exception(False)
|
|
raise Exception(1)
|
|
raise Exception("string")
|