Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pre-commit.ci] pre-commit autoupdate #402

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ repos:
- id: sort-simple-yaml
- id: trailing-whitespace
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: 'v0.9.3'
rev: 'v0.11.0'
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
- id: ruff-format
- repo: https://github.com/codespell-project/codespell
rev: v2.4.0
rev: v2.4.1
hooks:
- id: codespell
additional_dependencies: ["tomli"]
2 changes: 1 addition & 1 deletion src/scmrepo/git/backend/dulwich/asyncssh_vendor.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ async def public_key_auth_requested( # noqa: C901
self._keys_to_try = []
options = self._conn._options # pylint: disable=protected-access
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))
Expand Down
2 changes: 1 addition & 1 deletion src/scmrepo/git/objects.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ def size():
}
)

return cast(dict, ret)
return cast("dict", ret)


@dataclass
Expand Down
Loading