Skip to content

build(deps): update codespell #389

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

Merged
merged 4 commits into from
Jul 18, 2024
Merged
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
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ dev = [
]
lint = [
"black~=24.0",
"codespell[toml]==2.2.6",
"codespell[toml]==2.3.0",
"yamllint==1.35.1"
]
types = [
Expand Down
16 changes: 6 additions & 10 deletions tests/unit/git/test_git.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,10 @@
import pygit2
import pygit2.enums
import pytest
from craft_application.git import GitError
from craft_application.git import GitError, GitRepo, GitType, get_git_repo_type, is_repo
from craft_application.remote import (
GitRepo,
GitType,
RemoteBuildInvalidGitRepoError,
check_git_repo_for_remote_build,
get_git_repo_type,
is_repo,
)


Expand Down Expand Up @@ -244,7 +240,7 @@ def test_commit(empty_working_directory):

repo.commit()

# verify commit (the `isinstance` checks are to satsify pyright)
# verify commit (the `isinstance` checks are to satisfy pyright)
commit = pygit2.Repository(empty_working_directory).revparse_single("HEAD")
assert isinstance(commit, pygit2.Commit)
assert commit.message == "auto commit"
Expand Down Expand Up @@ -334,7 +330,7 @@ def test_push_url():
remote_branch="test-branch",
)

# verify commit in remote (the `isinstance` checks are to satsify pyright)
# verify commit in remote (the `isinstance` checks are to satisfy pyright)
commit = remote.revparse_single("test-branch")
assert isinstance(commit, pygit2.Commit)
assert commit.message == "auto commit"
Expand Down Expand Up @@ -415,7 +411,7 @@ def test_push_url_detached_head():
remote_branch="test-branch",
)

# verify commit in remote (the `isinstance` checks are to satsify pyright)
# verify commit in remote (the `isinstance` checks are to satisfy pyright)
commit = remote.revparse_single("test-branch")
assert isinstance(commit, pygit2.Commit)
assert commit.message == "auto commit"
Expand Down Expand Up @@ -451,7 +447,7 @@ def test_push_url_branch():
ref=repo._repo.head.shorthand,
)

# verify commit in remote (the `isinstance` checks are to satsify pyright)
# verify commit in remote (the `isinstance` checks are to satisfy pyright)
commit = remote.revparse_single("test-branch")
assert isinstance(commit, pygit2.Commit)
assert commit.message == "auto commit"
Expand Down Expand Up @@ -488,7 +484,7 @@ def test_push_tags():
push_tags=True,
)

# verify commit through tag in remote (the `isinstance` checks are to satsify pyright)
# verify commit through tag in remote (the `isinstance` checks are to satisfy pyright)
commit = remote.revparse_single(tag)
assert isinstance(commit, pygit2.Commit)
assert commit.message == "auto commit"
Expand Down
Loading