v440 2.0.0.dev38__tar.gz → 2.0.0.dev39__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.dev38/src/v440.egg-info → v440-2.0.0.dev39}/PKG-INFO +1 -1
- {v440-2.0.0.dev38 → v440-2.0.0.dev39}/pyproject.toml +1 -1
- {v440-2.0.0.dev38 → v440-2.0.0.dev39}/src/v440/_utils/qualparse.py +7 -9
- {v440-2.0.0.dev38 → v440-2.0.0.dev39/src/v440.egg-info}/PKG-INFO +1 -1
- {v440-2.0.0.dev38 → v440-2.0.0.dev39}/LICENSE.txt +0 -0
- {v440-2.0.0.dev38 → v440-2.0.0.dev39}/MANIFEST.in +0 -0
- {v440-2.0.0.dev38 → v440-2.0.0.dev39}/README.rst +0 -0
- {v440-2.0.0.dev38 → v440-2.0.0.dev39}/setup.cfg +0 -0
- {v440-2.0.0.dev38 → v440-2.0.0.dev39}/src/v440/__init__.py +0 -0
- {v440-2.0.0.dev38 → v440-2.0.0.dev39}/src/v440/_utils/BaseList.py +0 -0
- {v440-2.0.0.dev38 → v440-2.0.0.dev39}/src/v440/_utils/Cfg.py +0 -0
- {v440-2.0.0.dev38 → v440-2.0.0.dev39}/src/v440/_utils/Digest.py +0 -0
- {v440-2.0.0.dev38 → v440-2.0.0.dev39}/src/v440/_utils/Pattern.py +0 -0
- {v440-2.0.0.dev38 → v440-2.0.0.dev39}/src/v440/_utils/SlotList.py +0 -0
- {v440-2.0.0.dev38 → v440-2.0.0.dev39}/src/v440/_utils/VList.py +0 -0
- {v440-2.0.0.dev38 → v440-2.0.0.dev39}/src/v440/_utils/__init__.py +0 -0
- {v440-2.0.0.dev38 → v440-2.0.0.dev39}/src/v440/_utils/cfg.toml +0 -0
- {v440-2.0.0.dev38 → v440-2.0.0.dev39}/src/v440/_utils/utils.py +0 -0
- {v440-2.0.0.dev38 → v440-2.0.0.dev39}/src/v440/core/Base.py +0 -0
- {v440-2.0.0.dev38 → v440-2.0.0.dev39}/src/v440/core/Local.py +0 -0
- {v440-2.0.0.dev38 → v440-2.0.0.dev39}/src/v440/core/Public.py +0 -0
- {v440-2.0.0.dev38 → v440-2.0.0.dev39}/src/v440/core/Qual.py +0 -0
- {v440-2.0.0.dev38 → v440-2.0.0.dev39}/src/v440/core/Release.py +0 -0
- {v440-2.0.0.dev38 → v440-2.0.0.dev39}/src/v440/core/Version.py +0 -0
- {v440-2.0.0.dev38 → v440-2.0.0.dev39}/src/v440/core/VersionError.py +0 -0
- {v440-2.0.0.dev38 → v440-2.0.0.dev39}/src/v440/core/__init__.py +0 -0
- {v440-2.0.0.dev38 → v440-2.0.0.dev39}/src/v440/tests/__init__.py +0 -0
- {v440-2.0.0.dev38 → v440-2.0.0.dev39}/src/v440/tests/test_testdata.py +0 -0
- {v440-2.0.0.dev38 → v440-2.0.0.dev39}/src/v440/tests/test_version.py +0 -0
- {v440-2.0.0.dev38 → v440-2.0.0.dev39}/src/v440/tests/testdata.toml +0 -0
- {v440-2.0.0.dev38 → v440-2.0.0.dev39}/src/v440.egg-info/SOURCES.txt +0 -0
- {v440-2.0.0.dev38 → v440-2.0.0.dev39}/src/v440.egg-info/dependency_links.txt +0 -0
- {v440-2.0.0.dev38 → v440-2.0.0.dev39}/src/v440.egg-info/requires.txt +0 -0
- {v440-2.0.0.dev38 → v440-2.0.0.dev39}/src/v440.egg-info/top_level.txt +0 -0
|
@@ -108,14 +108,14 @@ def parse_dev(value: int) -> int:
|
|
|
108
108
|
|
|
109
109
|
@parse_dev.overload(list)
|
|
110
110
|
def parse_dev(value: list) -> Optional[int]:
|
|
111
|
-
|
|
112
|
-
|
|
111
|
+
x: Any
|
|
112
|
+
y: Any
|
|
113
|
+
x, y = map(utils.segment, value)
|
|
114
|
+
if x != "dev":
|
|
113
115
|
raise ValueError
|
|
114
|
-
if
|
|
116
|
+
if isinstance(y, str):
|
|
115
117
|
raise ValueError
|
|
116
|
-
|
|
117
|
-
raise ValueError
|
|
118
|
-
return v[1]
|
|
118
|
+
return y
|
|
119
119
|
|
|
120
120
|
|
|
121
121
|
@parse_dev.overload(str)
|
|
@@ -175,7 +175,5 @@ def parse_post(value: str) -> Optional[int]:
|
|
|
175
175
|
x, y = m.groups()
|
|
176
176
|
if x not in (None, "post", "rev", "r"):
|
|
177
177
|
raise ValueError
|
|
178
|
-
if y is None:
|
|
179
|
-
return None
|
|
180
|
-
else:
|
|
178
|
+
if y is not None:
|
|
181
179
|
return int(y)
|
|
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
|