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
« prev ^ index » next coverage.py v7.17.2, created at 2026-11-07 23:50 +0000
1#!/usr/bin/env python3
3# Standard libraries
4from typing import List
6# MilestoneState class
7class MilestoneState:
8 ACTIVATE: str = 'activate'
9 CLOSE: str = 'close'
11 # Default
12 @staticmethod
13 def default() -> str:
14 return MilestoneState.CLOSE
16 # Names
17 @staticmethod
18 def names() -> List[str]:
19 return [
20 MilestoneState.ACTIVATE,
21 MilestoneState.CLOSE,
22 ]