We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b1937ca commit c048770Copy full SHA for c048770
version_query/version.py
@@ -36,12 +36,14 @@ def _version_tuple_checker(version_tuple, flags):
36
return all((_ is not None if flag else _ is None) for _, flag in zip(version_tuple, flags))
37
38
39
-class Version(collections.abc.Hashable): # pylint: disable = too-many-public-methods, too-many-instance-attributes
+class Version(collections.abc.Hashable):
40
"""For storing and manipulating version information.
41
42
Definitions of acceptable version formats are provided in readme.
43
"""
44
45
+ # pylint: disable = too-many-public-methods, too-many-instance-attributes
46
+
47
@classmethod
48
def from_str(cls, version_str: str):
49
"""Create version from string."""
0 commit comments