Skip to content

Commit 998d7c8

Browse files
committed
Linting
1 parent 87459d3 commit 998d7c8

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

domdf_python_tools/versions.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,7 @@ def __repr__(self) -> str:
5252
Return the representation of the version.
5353
"""
5454

55-
types = self.__annotations__
56-
field_names = list(types.keys())
55+
field_names = self.__annotations__.keys()
5756
repr_fmt = '(' + ', '.join(f"{name}=%r" for name in field_names) + ')'
5857
return self.__class__.__name__ + repr_fmt % self
5958

0 commit comments

Comments
 (0)