Skip to content

Commit c048770

Browse files
committed
chore: fix placement of a pylint directive
1 parent b1937ca commit c048770

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

version_query/version.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,14 @@ def _version_tuple_checker(version_tuple, flags):
3636
return all((_ is not None if flag else _ is None) for _, flag in zip(version_tuple, flags))
3737

3838

39-
class Version(collections.abc.Hashable): # pylint: disable = too-many-public-methods, too-many-instance-attributes
39+
class Version(collections.abc.Hashable):
4040
"""For storing and manipulating version information.
4141
4242
Definitions of acceptable version formats are provided in readme.
4343
"""
4444

45+
# pylint: disable = too-many-public-methods, too-many-instance-attributes
46+
4547
@classmethod
4648
def from_str(cls, version_str: str):
4749
"""Create version from string."""

0 commit comments

Comments
 (0)