Coverage for src/types/gitlab.py: 90.00%

10 statements  

« prev     ^ index     » next       coverage.py v7.17.2, created at 2026-11-07 23:50 +0000

1#!/usr/bin/env python3 

2 

3# Standard libraries 

4from typing import List 

5 

6# MilestoneState class 

7class MilestoneState: 

8 ACTIVATE: str = 'activate' 

9 CLOSE: str = 'close' 

10 

11 # Default 

12 @staticmethod 

13 def default() -> str: 

14 return MilestoneState.CLOSE 

15 

16 # Names 

17 @staticmethod 

18 def names() -> List[str]: 

19 return [ 

20 MilestoneState.ACTIVATE, 

21 MilestoneState.CLOSE, 

22 ]