We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 603f614 commit 54dd394Copy full SHA for 54dd394
1 file changed
libvcs/projects/base.py
@@ -1,7 +1,7 @@
1
"""Base class for VCS Project plugins."""
2
import logging
3
import pathlib
4
-from typing import NamedTuple, Tuple
+from typing import NamedTuple, Optional, Tuple
5
from urllib import parse as urlparse
6
7
from libvcs._internal.run import CmdLoggingAdapter, run
@@ -12,7 +12,7 @@
12
13
class VCSLocation(NamedTuple):
14
url: str
15
- rev: str
+ rev: Optional[str]
16
17
18
def convert_pip_url(pip_url: str) -> VCSLocation:
0 commit comments