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):
254254 # Decoration
255255 suffix : Optional [str ] = None
256256
257- # commit-ish (rev): tag, branch, ref
258- rev : Optional [str ] = None
259-
260257 matcher : Optional [str ] = None
261258 matchers = MatcherRegistry = MatcherRegistry (
262259 _matchers = {m .label : m for m in DEFAULT_MATCHERS }
@@ -345,6 +342,9 @@ def to_url(self) -> str:
345342class GitURL (GitBaseURL , URLProtocol , SkipDefaultFieldsReprMixin ):
346343 """Batteries included URL Parser. Supports git(1) and pip URLs."""
347344
345+ # commit-ish (rev): tag, branch, ref
346+ rev : Optional [str ] = None
347+
348348 matchers = MatcherRegistry = MatcherRegistry (
349349 _matchers = {m .label : m for m in [* DEFAULT_MATCHERS , * PIP_DEFAULT_MATCHERS ]}
350350 )
You can’t perform that action at this time.
0 commit comments