Coverage for src/package/bundle.py: 100.00%

22 statements  

« prev     ^ index     » next       coverage.py v7.17.2, created at 2026-11-08 13:49 +0000

1#!/usr/bin/env python3 

2 

3# Bundle class, pylint: disable=too-few-public-methods 

4class Bundle: 

5 

6 # Modules 

7 MODULE: str = 'pre_commit_crocodile' 

8 

9 # Names 

10 NAME: str = 'pre-commit-crocodile' 

11 

12 # Packages 

13 PACKAGE: str = 'pre-commit-crocodile' 

14 

15 # Details, pylint: disable=line-too-long 

16 DESCRIPTION: str = 'Git hooks manager intended for developers using pre-commit, prek and commitizen' 

17 

18 # Resources 

19 RESOURCES_ASSETS: str = f'{__name__.split(".", maxsplit=1)[0]}.assets' 

20 

21 # Sources 

22 BADGE: str = 'https://img.shields.io/badge/pre--commit--crocodile-enabled-brightgreen?logo=gitlab' # pylint: disable=line-too-long 

23 DOCUMENTATION: str = 'https://radiandevcore.gitlab.io/tools/pre-commit-crocodile' 

24 REPOSITORY: str = 'https://gitlab.com/RadianDevCore/tools/pre-commit-crocodile' 

25 

26 # Releases 

27 RELEASE_FIRST_TIMESTAMP: int = 1579337311 

28 

29 # Environment 

30 ENV_DEBUG_REVISION_SHA: str = 'DEBUG_REVISION_SHA' 

31 ENV_DEBUG_UPDATES_DAILY: str = 'DEBUG_UPDATES_DAILY' 

32 ENV_DEBUG_UPDATES_DISABLE: str = 'DEBUG_UPDATES_DISABLE' 

33 ENV_DEBUG_UPDATES_FAKE: str = 'DEBUG_UPDATES_FAKE' 

34 ENV_DEBUG_UPDATES_OFFLINE: str = 'DEBUG_UPDATES_OFFLINE' 

35 ENV_DEBUG_VERSION_FAKE: str = 'DEBUG_VERSION_FAKE' 

36 ENV_FORCE_COLOR: str = 'FORCE_COLOR' 

37 ENV_NO_COLOR: str = 'NO_COLOR' 

38 

39 # Components 

40 COMPONENTS_PACKAGE_VERSION: str = '[PACKAGE_VERSION]' 

41 COMPONENTS_REMOTE_COMMITS: str = f'https://gitlab.com/RadianDevCore/tools/pre-commit-crocodile/-/raw/{COMPONENTS_PACKAGE_VERSION}/templates/commits.yml' 

42 COMPONENTS_SAAS_COMMITS: str = f'gitlab.com/RadianDevCore/tools/pre-commit-crocodile/commits@{COMPONENTS_PACKAGE_VERSION}' 

43 COMPONENTS_SAAS_DOMAIN: str = 'gitlab.com'