eegprep.CatalogValidationOptions#
- class eegprep.CatalogValidationOptions(allow_private=False, check_installed=False, check_import=False, current_eegprep_version=None, version_provider=<function version>, entry_points_provider=<function entry_points>)#
Bases:
objectValidation switches for local and future catalog-CI checks.
- Parameters:
- __init__(allow_private=False, check_installed=False, check_import=False, current_eegprep_version=None, version_provider=<function version>, entry_points_provider=<function entry_points>)#
Methods
__init__([allow_private, check_installed, ...])Return EntryPoint objects for all installed packages.
Get the version string for the named package.
Attributes
- version_provider()#
Get the version string for the named package.
- Parameters:
distribution_name – The name of the distribution package to query.
- Returns:
The version string for the package as defined in the package’s “Version” metadata key.
- entry_points_provider()#
Return EntryPoint objects for all installed packages.
Pass selection parameters (group or name) to filter the result to entry points matching those properties (see EntryPoints.select()).
For compatibility, returns
SelectableGroupsobject unless selection parameters are supplied. In the future, this function will returnEntryPointsinstead ofSelectableGroupseven when no selection parameters are supplied.For maximum future compatibility, pass selection parameters or invoke
.selectwith parameters on the result.- Returns:
EntryPoints or SelectableGroups for all installed packages.
- Return type:
EntryPoints | SelectableGroups