prometa.git.gitlab.ci.python package

Submodules

prometa.git.gitlab.ci.python.pylint module

Generate a badge image with the Pylint score.

class prometa.git.gitlab.ci.python.pylint.PylintCIJobManager(gitlab_ci)[source]

Bases: CIJobManager

Add a job to get a Pylint score and save a badge with the score as an artifact.

NAME = 'pylint'[source]
property enabled[source]

The job’s name is in the gitlab.enabled_ci_jobs list in the configuration file.

OR

The corresponding Pylint badge is enabled.

manage()[source]

Manage the job in the CI file according to current project conditions and configuration settings.

prometa.git.gitlab.ci.python.register_python_package module

Register Python package.

class prometa.git.gitlab.ci.python.register_python_package.RegisterPythonPackageCIJobManager(gitlab_ci)[source]

Bases: CIJobManager

Add a job to build and register a Python package if the project contains one, or remove the job it is exists but the project does not contain a Python package.

NAME = 'register_python_package'[source]
manage()[source]

Manage the job in the CI file according to current project conditions and configuration settings.

Module contents

Package stub.