Coverage for phml\__init__.py: 100%
9 statements
« prev ^ index » next coverage.py v6.5.0, created at 2023-04-12 14:26 -0500
« prev ^ index » next coverage.py v6.5.0, created at 2023-04-12 14:26 -0500
1"""
2.. include:: ../README.md
3"""
4from dataclasses import dataclass
6from .builder import p
7from .core import HypertextManager
10@dataclass
11class Version:
12 """Version object for phml.
14 {Major}.{Minor}.{Alpha}
16 Alpha:
17 Includes all bugfixes and small feature changes that go into the
18 iterations of a task.
20 Minor:
21 All alpha changes pulled together into a task version release.
23 Major:
24 All minor changes pulled together into a collection of tasks into a
25 milestone/goal release.
26 """
28 Major: int = 0
29 Minor: int = 3
30 Alpha: int = 0
32 def __str__(self) -> str:
33 return f"{self.Major}.{self.Minor}.{self.Alpha}"
36__version__ = str(Version())