Zum Inhalt springen

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.

def calculate_tax(order):
raise NotImplementedError("later")
def calculate_tax(order):
return order.subtotal * TAX_RATE

Complete the stub body; use abc.abstractmethod if you need an abstract contract.