profiles.list_profiles

profiles.list_profiles(package_path=None)

List all available profiles.

Returns built-in profiles plus any plugin profiles. If package_path is provided, also includes custom profiles from pyproject.toml and local profiles from .pycmdcheck/profiles/.

Args: package_path: Optional path to the package for loading custom/local profiles

Returns: List of all registered Profile objects.