CatalogValidationOptions#

class 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: object

Validation switches for local and future catalog-CI checks.

Parameters:
  • allow_private (bool)

  • check_installed (bool)

  • check_import (bool)

  • current_eegprep_version (str | None)

  • version_provider (Any)

  • entry_points_provider (Any)

allow_private: bool = False#
check_installed: bool = False#
check_import: bool = False#
current_eegprep_version: str | None = None#
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()).

Returns:

EntryPoints for all installed packages.

Return type:

EntryPoints