profiles.Profile

profiles.Profile(
    name,
    description,
    skip_ids=None,
    skip_groups=None,
    only_ids=None,
    only_groups=None,
    error_on=None,
    severity_overrides=None,
    extends=None,
)

A check profile that bundles configuration settings.

Profiles provide pre-defined configurations for common use cases. They can specify which checks to skip, which to run exclusively, what severity level triggers failures, and severity overrides for individual checks.

Attributes: name: Profile identifier (e.g., “strict”, “relaxed”) description: Human-readable description of the profile skip_ids: Check IDs to skip (e.g., [“ST001”, “MT003”]) skip_groups: Check groups to skip (e.g., [“tests”]) 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”) severity_overrides: Map of check IDs to severity levels (e.g., {“DC002”: “error”}) extends: Name of a parent profile to inherit from