Coverage for potnia/enums.py: 100.00%

15 statements  

« prev     ^ index     » next       coverage.py v7.6.3, created at 2025-04-03 23:35 +0000

1from enum import Enum 

2 

3 

4class BibliographyFormat(str, Enum): 

5 plaintext = "plaintext" 

6 html = "html" 

7 latex = "latex" 

8 markdown = "markdown" 

9 

10 def __str__(self): 

11 return self.value 

12 

13 

14class BibliographyStyle(str, Enum): 

15 plain = "plain" 

16 unsrt = "unsrt" 

17 alpha = "alpha" 

18 unsrtalpha = "unsrtalpha" 

19 

20 def __str__(self): 

21 return self.value