devops.config.constants

Constants for DevOps checks.

Classes

Constants([github, files])

Class holding constant values for DevOps checks.

FileConstants([default_toml_template, ...])

Class holding constant file-related values.

GitConstants([github_url, ...])

Class holding constant Git-related URLs.

class devops.config.constants.GitConstants(github_url='https://github.com', github_devops_repo='https://github.com/97gamjak/devops', github_devops_issues_url='https://github.com/97gamjak/devops/issues', github_default_owner_url='https://github.com/repo/owner')[source]

Bases: object

Class holding constant Git-related URLs.

Parameters:
  • github_url (str)

  • github_devops_repo (str)

  • github_devops_issues_url (str)

  • github_default_owner_url (str)

github_url: str = 'https://github.com'
github_devops_repo: str = 'https://github.com/97gamjak/devops'
github_devops_issues_url: str = 'https://github.com/97gamjak/devops/issues'
github_default_owner_url: str = 'https://github.com/repo/owner'
class devops.config.constants.FileConstants(default_toml_template='devops.toml.template', toml_filenames=<factory>)[source]

Bases: object

Class holding constant file-related values.

Parameters:
  • default_toml_template (str)

  • toml_filenames (list[str])

default_toml_template: str = 'devops.toml.template'
toml_filenames: list[str]
class devops.config.constants.Constants(github=GitConstants(github_url='https://github.com', github_devops_repo='https://github.com/97gamjak/devops', github_devops_issues_url='https://github.com/97gamjak/devops/issues', github_default_owner_url='https://github.com/repo/owner'), files=FileConstants(default_toml_template='devops.toml.template', toml_filenames=['devops.toml', '.devops.toml']))[source]

Bases: object

Class holding constant values for DevOps checks.

Parameters:
github: GitConstants = GitConstants(github_url='https://github.com', github_devops_repo='https://github.com/97gamjak/devops', github_devops_issues_url='https://github.com/97gamjak/devops/issues', github_default_owner_url='https://github.com/repo/owner')
files: FileConstants = FileConstants(default_toml_template='devops.toml.template', toml_filenames=['devops.toml', '.devops.toml'])