Files
ruff/resources/test/fixtures/B016.py
Harutaka Kawamura 8344d5151c Implement B016 (#595)
2022-11-05 14:06:00 -04:00

12 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")