pi-lens
Version:
Real-time code feedback for pi — LSP, linters, formatters, type-checking, structural analysis & booboo
22 lines (21 loc) • 355 B
YAML
id: no-raise-not-implemented
valid:
- |
def f():
raise ValueError("oops")
- |
def f():
raise CustomError("oops")
- |
def f():
return 1
invalid:
- |
def f():
raise NotImplementedError
- |
def f():
raise NotImplementedError("TODO")
- |
def f():
raise NotImplementedError()