Skip to content

Commit

Permalink
fix & skip
Browse files Browse the repository at this point in the history
  • Loading branch information
Borda committed May 7, 2024
1 parent 4cbfea8 commit 8cb9fb9
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ repos:
hooks:
- id: codespell
additional_dependencies: [tomli]
args: ["--write-changes"]

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.3.2
Expand Down
2 changes: 1 addition & 1 deletion git/index/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -1443,7 +1443,7 @@ def reset(
key = entry_key(path, 0)
self.entries[key] = nie[key]
except KeyError:
# If key is not in theirs, it musn't be in ours.
# If key is not in theirs, it mustn't be in ours.
try:
del self.entries[key]
except KeyError:
Expand Down
2 changes: 1 addition & 1 deletion git/remote.py
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ def _from_line(cls, remote: "Remote", line: str) -> "PushInfo":
flags |= cls.NEW_TAG
elif "[new branch]" in summary:
flags |= cls.NEW_HEAD
# uptodate encoded in control character
# up-to-date encoded in control character
else:
# Fast-forward or forced update - was encoded in control character,
# but we parse the old and new commit.
Expand Down
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ lint.unfixable = [
]

[tool.codespell]
#skip = '*.po,*.ts,./src/3rdParty,./src/Test'
skip = 'test/fixtures/reflog_*'
ignore-words-list="gud,doesnt"
#count = true
quiet-level = 3

0 comments on commit 8cb9fb9

Please sign in to comment.