config.Config

config.Config(
    skip_ids=None,
    skip_groups=None,
    only_ids=None,
    only_groups=None,
    error_on=None,
    profile=None,
    severity_overrides=None,
    local_checks=None,
    check_config=None,
    paths=None,
)

Configuration options for pycmdcheck.

All fields default to None, meaning “not specified”. An empty list means “explicitly set to empty” (different from None).

Attributes: skip_ids: Check IDs to skip (e.g., [“ST001”, “MT003”]) skip_groups: Check groups to skip (e.g., [“metadata”]) only_ids: Only run these check IDs only_groups: Only run checks in these groups error_on: Minimum severity that causes non-zero exit (“error”, “warning”, “note”) profile: Name of the applied profile (if any) severity_overrides: Map of check IDs to severity levels (e.g., {“DC002”: “error”}) local_checks: Additional paths to scan for local custom checks check_config: Per-check configuration options (e.g., {“TS003”: {“threshold”: 80}}) paths: Per-path rules for path-specific check configuration