Skip to content

Commit 2ce013c

Browse files
committed
fix & skip
1 parent 1c88b0a commit 2ce013c

File tree

4 files changed

+5
-3
lines changed

4 files changed

+5
-3
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ repos:
44
hooks:
55
- id: codespell
66
additional_dependencies: [tomli]
7+
args: ["--write-changes"]
78

89
- repo: https://github.com/astral-sh/ruff-pre-commit
910
rev: v0.4.3

git/index/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1443,7 +1443,7 @@ def reset(
14431443
key = entry_key(path, 0)
14441444
self.entries[key] = nie[key]
14451445
except KeyError:
1446-
# If key is not in theirs, it musn't be in ours.
1446+
# If key is not in theirs, it mustn't be in ours.
14471447
try:
14481448
del self.entries[key]
14491449
except KeyError:

git/remote.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ def _from_line(cls, remote: "Remote", line: str) -> "PushInfo":
250250
flags |= cls.NEW_TAG
251251
elif "[new branch]" in summary:
252252
flags |= cls.NEW_HEAD
253-
# uptodate encoded in control character
253+
# up-to-date encoded in control character
254254
else:
255255
# Fast-forward or forced update - was encoded in control character,
256256
# but we parse the old and new commit.

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ lint.unfixable = [
8080
]
8181

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

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy