diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 59633e6..fb7aeff 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -10,7 +10,7 @@ repos: files: \.rej$ repo: local - repo: https://github.com/astral-sh/ruff-pre-commit - rev: 'v0.9.4' + rev: 'v0.11.4' hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] diff --git a/dvc_ssh/client.py b/dvc_ssh/client.py index 88cbc44..5abe168 100644 --- a/dvc_ssh/client.py +++ b/dvc_ssh/client.py @@ -47,7 +47,7 @@ async def public_key_auth_requested( self._keys_to_try = [] options = self._conn._options config = options.config - client_keys = cast(Sequence["FilePath"], config.get("IdentityFile", ())) + client_keys = cast("Sequence[FilePath]", config.get("IdentityFile", ())) if not client_keys: client_keys = [ os.path.expanduser(os.path.join("~", ".ssh", path))