Skip to content

Commit b676410

Browse files
remove extras from ScmVersion repr
1 parent 7e2da22 commit b676410

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/setuptools_scm/version.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ def exact(self):
161161

162162
def __repr__(self):
163163
return self.format_with(
164-
"<ScmVersion {tag} d={distance}" " n={node} d={dirty} b={branch} x={extra}>"
164+
"<ScmVersion {tag} d={distance} n={node} d={dirty} b={branch}>"
165165
)
166166

167167
def format_with(self, fmt, **kw):
@@ -171,7 +171,6 @@ def format_with(self, fmt, **kw):
171171
distance=self.distance,
172172
node=self.node,
173173
dirty=self.dirty,
174-
extra=self.extra,
175174
branch=self.branch,
176175
**kw
177176
)

0 commit comments

Comments
 (0)