Ushka

API reference

ushka.cli.commands.check

ushka check: validates configuration and security settings.

Exits with status 1 when a problem is found, so it can run in CI or before a deploy (ushka check --production).

def check(production: bool = False) -> int

Prints a report and returns the number of problems found.