Coverage for lintro / enums / git_command.py: 100%

6 statements  

« prev     ^ index     » next       coverage.py v7.13.0, created at 2026-04-03 18:53 +0000

1"""Git command definitions. 

2 

3Provides canonical identifiers for git commands used in validation. 

4""" 

5 

6from enum import auto 

7 

8from lintro.enums.hyphenated_str_enum import HyphenatedStrEnum 

9 

10 

11class GitCommand(HyphenatedStrEnum): 

12 """Supported git command identifiers.""" 

13 

14 DESCRIBE = auto() 

15 REV_PARSE = auto() 

16 LOG = auto()