v440 2.0.0.dev142__tar.gz → 2.0.0.dev144__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {v440-2.0.0.dev142/src/v440.egg-info → v440-2.0.0.dev144}/PKG-INFO +1 -1
- {v440-2.0.0.dev142 → v440-2.0.0.dev144}/pyproject.toml +1 -1
- {v440-2.0.0.dev142 → v440-2.0.0.dev144}/src/v440/core/Qual.py +2 -2
- {v440-2.0.0.dev142 → v440-2.0.0.dev144}/src/v440/core/Release.py +22 -0
- {v440-2.0.0.dev142 → v440-2.0.0.dev144/src/v440.egg-info}/PKG-INFO +1 -1
- {v440-2.0.0.dev142 → v440-2.0.0.dev144}/LICENSE.txt +0 -0
- {v440-2.0.0.dev142 → v440-2.0.0.dev144}/MANIFEST.in +0 -0
- {v440-2.0.0.dev142 → v440-2.0.0.dev144}/README.rst +0 -0
- {v440-2.0.0.dev142 → v440-2.0.0.dev144}/setup.cfg +0 -0
- {v440-2.0.0.dev142 → v440-2.0.0.dev144}/src/v440/__init__.py +0 -0
- {v440-2.0.0.dev142 → v440-2.0.0.dev144}/src/v440/_utils/BaseStringer.py +0 -0
- {v440-2.0.0.dev142 → v440-2.0.0.dev144}/src/v440/_utils/Cfg.py +0 -0
- {v440-2.0.0.dev142 → v440-2.0.0.dev144}/src/v440/_utils/ListStringer.py +0 -0
- {v440-2.0.0.dev142 → v440-2.0.0.dev144}/src/v440/_utils/Pattern.py +0 -0
- {v440-2.0.0.dev142 → v440-2.0.0.dev144}/src/v440/_utils/SlotStringer.py +0 -0
- {v440-2.0.0.dev142 → v440-2.0.0.dev144}/src/v440/_utils/__init__.py +0 -0
- {v440-2.0.0.dev142 → v440-2.0.0.dev144}/src/v440/_utils/cfg.toml +0 -0
- {v440-2.0.0.dev142 → v440-2.0.0.dev144}/src/v440/_utils/guarding.py +0 -0
- {v440-2.0.0.dev142 → v440-2.0.0.dev144}/src/v440/_utils/releaseparse/__init__.py +0 -0
- {v440-2.0.0.dev142 → v440-2.0.0.dev144}/src/v440/_utils/releaseparse/deleting.py +0 -0
- {v440-2.0.0.dev142 → v440-2.0.0.dev144}/src/v440/_utils/releaseparse/getting.py +0 -0
- {v440-2.0.0.dev142 → v440-2.0.0.dev144}/src/v440/_utils/releaseparse/listing.py +0 -0
- {v440-2.0.0.dev142 → v440-2.0.0.dev144}/src/v440/_utils/releaseparse/numerals.py +0 -0
- {v440-2.0.0.dev142 → v440-2.0.0.dev144}/src/v440/_utils/releaseparse/ranging.py +0 -0
- {v440-2.0.0.dev142 → v440-2.0.0.dev144}/src/v440/_utils/releaseparse/setting.py +0 -0
- {v440-2.0.0.dev142 → v440-2.0.0.dev144}/src/v440/core/Base.py +0 -0
- {v440-2.0.0.dev142 → v440-2.0.0.dev144}/src/v440/core/Local.py +0 -0
- {v440-2.0.0.dev142 → v440-2.0.0.dev144}/src/v440/core/Public.py +0 -0
- {v440-2.0.0.dev142 → v440-2.0.0.dev144}/src/v440/core/Version.py +0 -0
- {v440-2.0.0.dev142 → v440-2.0.0.dev144}/src/v440/core/VersionError.py +0 -0
- {v440-2.0.0.dev142 → v440-2.0.0.dev144}/src/v440/core/__init__.py +0 -0
- {v440-2.0.0.dev142 → v440-2.0.0.dev144}/src/v440/tests/__init__.py +0 -0
- {v440-2.0.0.dev142 → v440-2.0.0.dev144}/src/v440/tests/test_testdata.py +0 -0
- {v440-2.0.0.dev142 → v440-2.0.0.dev144}/src/v440/tests/test_version.py +0 -0
- {v440-2.0.0.dev142 → v440-2.0.0.dev144}/src/v440/tests/testdata.toml +0 -0
- {v440-2.0.0.dev142 → v440-2.0.0.dev144}/src/v440.egg-info/SOURCES.txt +0 -0
- {v440-2.0.0.dev142 → v440-2.0.0.dev144}/src/v440.egg-info/dependency_links.txt +0 -0
- {v440-2.0.0.dev142 → v440-2.0.0.dev144}/src/v440.egg-info/requires.txt +0 -0
- {v440-2.0.0.dev142 → v440-2.0.0.dev144}/src/v440.egg-info/top_level.txt +0 -0
|
@@ -77,8 +77,8 @@ class Qual(SlotStringer):
|
|
|
77
77
|
|
|
78
78
|
def _cmp(self: Self) -> list:
|
|
79
79
|
ans: list = list()
|
|
80
|
-
if
|
|
81
|
-
ans +=
|
|
80
|
+
if self.prephase:
|
|
81
|
+
ans += [self.prephase, self.presubphase]
|
|
82
82
|
elif self.post is not None:
|
|
83
83
|
ans += ["z", float("inf")]
|
|
84
84
|
elif self.dev is None:
|
|
@@ -41,12 +41,34 @@ class Release(ListStringer):
|
|
|
41
41
|
keys: set = set(kwargs.keys())
|
|
42
42
|
if argc <= 1 and keys <= {"string"}:
|
|
43
43
|
return "string"
|
|
44
|
+
if argc <= 3 and keys <= {"major", "minor", "micro"}:
|
|
45
|
+
return "micro"
|
|
46
|
+
if argc <= 3 and keys <= {"major", "minor", "patch"}:
|
|
47
|
+
return "patch"
|
|
44
48
|
return "data"
|
|
45
49
|
|
|
46
50
|
@__init__.overload("string")
|
|
47
51
|
def __init__(self: Self, string: Any = "0") -> None:
|
|
48
52
|
self.string = string
|
|
49
53
|
|
|
54
|
+
@__init__.overload("micro")
|
|
55
|
+
def __init__(
|
|
56
|
+
self: Self,
|
|
57
|
+
major: SupportsIndex = 0,
|
|
58
|
+
minor: SupportsIndex = 0,
|
|
59
|
+
micro: SupportsIndex = 0,
|
|
60
|
+
) -> None:
|
|
61
|
+
self.data = (major, minor, micro)
|
|
62
|
+
|
|
63
|
+
@__init__.overload("patch")
|
|
64
|
+
def __init__(
|
|
65
|
+
self: Self,
|
|
66
|
+
major: SupportsIndex = 0,
|
|
67
|
+
minor: SupportsIndex = 0,
|
|
68
|
+
patch: SupportsIndex = 0,
|
|
69
|
+
) -> None:
|
|
70
|
+
self.data = (major, minor, patch)
|
|
71
|
+
|
|
50
72
|
@__init__.overload("data")
|
|
51
73
|
def __init__(self: Self, data: Iterable) -> None:
|
|
52
74
|
self.data = data
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|