Plain is headed towards 1.0! Subscribe for development updates →

Checks

Static system checks to catch misconfigurations.

 1from .messages import (
 2    CRITICAL,
 3    DEBUG,
 4    ERROR,
 5    INFO,
 6    WARNING,
 7    CheckMessage,
 8    Critical,
 9    Debug,
10    Error,
11    Info,
12    Warning,
13)
14from .registry import register, run_checks
15
16# Import these to force registration of checks
17import plain.preflight.files  # NOQA isort:skip
18import plain.preflight.security  # NOQA isort:skip
19import plain.preflight.urls  # NOQA isort:skip
20
21
22__all__ = [
23    "CheckMessage",
24    "Debug",
25    "Info",
26    "Warning",
27    "Error",
28    "Critical",
29    "DEBUG",
30    "INFO",
31    "WARNING",
32    "ERROR",
33    "CRITICAL",
34    "register",
35    "run_checks",
36]