Skip to content

Commit 3525429

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent c696ef8 commit 3525429

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/scmrepo/git/backend/dulwich/asyncssh_vendor.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ async def public_key_auth_requested( # noqa: C901
132132
self._keys_to_try = []
133133
options = self._conn._options # pylint: disable=protected-access
134134
config = options.config
135-
client_keys = cast(Sequence["FilePath"], config.get("IdentityFile", ()))
135+
client_keys = cast("Sequence[FilePath]", config.get("IdentityFile", ()))
136136
if not client_keys:
137137
client_keys = [
138138
os.path.expanduser(os.path.join("~", ".ssh", path))

src/scmrepo/git/objects.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ def size():
160160
}
161161
)
162162

163-
return cast(dict, ret)
163+
return cast("dict", ret)
164164

165165

166166
@dataclass

0 commit comments

Comments
 (0)