Skip to content

Commit f3fa354

Browse files
committed
1 parent b552f81 commit f3fa354

11 files changed

Lines changed: 15 additions & 15 deletions

File tree

docs/cmd/git.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ Compare to: [`fabtools.git`](https://fabtools.readthedocs.io/en/0.19.0/api/git.h
1111
:members:
1212
:show-inheritance:
1313
:undoc-members:
14-
:exclude-members: StrOrBytesPath, StrOrPath, run
14+
:exclude-members: StrOrBytesPath, StrPath, run
1515
```

docs/cmd/hg.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ For mercurial, aka `hg(1)`.
77
:members:
88
:show-inheritance:
99
:undoc-members:
10-
:exclude-members: StrOrBytesPath, StrOrPath, run
10+
:exclude-members: StrOrBytesPath, StrPath, run
1111
```

docs/cmd/svn.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ For subversion, aka `svn(1)`
77
:members:
88
:show-inheritance:
99
:undoc-members:
10-
:exclude-members: StrOrBytesPath, StrOrPath, run
10+
:exclude-members: StrOrBytesPath, StrPath, run
1111
```

docs/projects/git.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@ Compare to:
1212
:members:
1313
:show-inheritance:
1414
:undoc-members:
15-
:exclude-members: BaseProject, StrOrBytesPath, StrOrPath
15+
:exclude-members: BaseProject, StrOrBytesPath, StrPath
1616
```

docs/projects/hg.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ For mercurial, aka `hg(1)`.
77
:members:
88
:show-inheritance:
99
:undoc-members:
10-
:exclude-members: BaseProject, StrOrBytesPath, StrOrPath
10+
:exclude-members: BaseProject, StrOrBytesPath, StrPath
1111
```

docs/projects/svn.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ For subversion, aka `svn(1)`
77
:members:
88
:show-inheritance:
99
:undoc-members:
10-
:exclude-members: BaseProject, StrOrBytesPath, StrOrPath
10+
:exclude-members: BaseProject, StrOrBytesPath, StrPath
1111
```

libvcs/cmd/git.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22
import shlex
33
from typing import Any, Literal, Optional, Sequence, Union
44

5-
from ..types import StrOrBytesPath, StrOrPath
5+
from ..types import StrOrBytesPath, StrPath
66
from .core import run
77

88
_CMD = Union[StrOrBytesPath, Sequence[StrOrBytesPath]]
99

1010

1111
class Git:
12-
def __init__(self, dir: StrOrPath):
12+
def __init__(self, dir: StrPath):
1313
"""Lite, typed, pythonic wrapper for git(1).
1414
1515
Parameters

libvcs/cmd/hg.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import pathlib
33
from typing import Optional, Sequence, Union
44

5-
from ..types import StrOrBytesPath, StrOrPath
5+
from ..types import StrOrBytesPath, StrPath
66
from .core import run
77

88
_CMD = Union[StrOrBytesPath, Sequence[StrOrBytesPath]]
@@ -24,7 +24,7 @@ class HgPagerType(enum.Enum):
2424

2525

2626
class Hg:
27-
def __init__(self, dir: StrOrPath):
27+
def __init__(self, dir: StrPath):
2828
"""Lite, typed, pythonic wrapper for hg(1).
2929
3030
Parameters

libvcs/cmd/svn.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import pathlib
22
from typing import Literal, Optional, Sequence, Union
33

4-
from ..types import StrOrBytesPath, StrOrPath
4+
from ..types import StrOrBytesPath, StrPath
55
from .core import run
66

77
_CMD = Union[StrOrBytesPath, Sequence[StrOrBytesPath]]
@@ -11,7 +11,7 @@
1111

1212

1313
class Svn:
14-
def __init__(self, dir: StrOrPath):
14+
def __init__(self, dir: StrPath):
1515
"""Lite, typed, pythonic wrapper for svn(1).
1616
1717
Parameters

libvcs/projects/base.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
from urllib import parse as urlparse
66

77
from libvcs.cmd.core import CmdLoggingAdapter, mkdir_p, run
8-
from libvcs.types import StrOrPath
8+
from libvcs.types import StrPath
99

1010
logger = logging.getLogger(__name__)
1111

@@ -41,7 +41,7 @@ class BaseProject:
4141
#: vcs app name, e.g. 'git'
4242
bin_name = ""
4343

44-
def __init__(self, url, dir: StrOrPath, progress_callback=None, *args, **kwargs):
44+
def __init__(self, url, dir: StrPath, progress_callback=None, *args, **kwargs):
4545
r"""
4646
Parameters
4747
----------

0 commit comments

Comments
 (0)