Not implemented stub (ARCH2191)
Dieser Inhalt ist noch nicht in deiner Sprache verfügbar.
Key python.quality.not-implemented-stub · Severity warning · Category quality
raise NotImplementedError and similar placeholders signal unfinished work; if reached on a production path they cause a runtime failure.
Incorrect
Section titled “Incorrect”def calculate_tax(order): raise NotImplementedError("later")Correct
Section titled “Correct”def calculate_tax(order): return order.subtotal * TAX_RATEComplete the stub body; use abc.abstractmethod if you need an abstract contract.