File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -254,9 +254,6 @@ class GitBaseURL(URLProtocol, SkipDefaultFieldsReprMixin):
254
254
# Decoration
255
255
suffix : Optional [str ] = None
256
256
257
- # commit-ish (rev): tag, branch, ref
258
- rev : Optional [str ] = None
259
-
260
257
matcher : Optional [str ] = None
261
258
matchers = MatcherRegistry = MatcherRegistry (
262
259
_matchers = {m .label : m for m in DEFAULT_MATCHERS }
@@ -345,6 +342,9 @@ def to_url(self) -> str:
345
342
class GitURL (GitBaseURL , URLProtocol , SkipDefaultFieldsReprMixin ):
346
343
"""Batteries included URL Parser. Supports git(1) and pip URLs."""
347
344
345
+ # commit-ish (rev): tag, branch, ref
346
+ rev : Optional [str ] = None
347
+
348
348
matchers = MatcherRegistry = MatcherRegistry (
349
349
_matchers = {m .label : m for m in [* DEFAULT_MATCHERS , * PIP_DEFAULT_MATCHERS ]}
350
350
)
You can’t perform that action at this time.
0 commit comments