Skip to content

Commit ffe360a

Browse files
committed
fix typos found by codespell
- backupped → backed-up (docs/faq.rst) - splitted → expected (src/borg/testsuite/xattr_test.py) - uptodate → up-to-date (docs/development.rst, src/borg/repository.py) Closes #9295
1 parent 8da5de3 commit ffe360a

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

docs/development.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ Start by checking out the appropriate branch:
136136
git checkout master
137137

138138
It is best practice for a developer to keep local ``master`` branch as an
139-
uptodate copy of the upstream ``master`` branch and always do own work in a
139+
up-to-date copy of the upstream ``master`` branch and always do own work in a
140140
separate feature or bugfix branch.
141141
This is useful to be able to rebase own branches onto the upstream branches
142142
they were branched from, if necessary.
@@ -194,7 +194,7 @@ Rebase feature branch onto updated master branch
194194
------------------------------------------------
195195

196196
After updating the local ``master`` branch from upstream, the feature branch
197-
can be checked out and rebased onto (the now uptodate) ``master`` branch.
197+
can be checked out and rebased onto (the now up-to-date) ``master`` branch.
198198
::
199199

200200
git checkout MYCONTRIB-master

docs/faq.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -592,7 +592,7 @@ These are your options to protect against that:
592592
How can I protect against theft, sabotage, lightning, fire, ...?
593593
----------------------------------------------------------------
594594

595-
In general: if your only backup medium is nearby the backupped machine and
595+
In general: if your only backup medium is nearby the backed-up machine and
596596
always connected, you can easily get into trouble: they likely share the same
597597
fate if something goes really wrong.
598598

src/borg/repository.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -402,7 +402,7 @@ def check_object(obj):
402402
except StoreObjectNotFound:
403403
pass
404404
if not partial:
405-
# if we did a full pass in one go, we built a complete, uptodate ChunkIndex, cache it!
405+
# if we did a full pass in one go, we built a complete, up-to-date ChunkIndex, cache it!
406406
from .cache import write_chunkindex_to_repo_cache
407407

408408
write_chunkindex_to_repo_cache(

src/borg/testsuite/xattr_test.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ def test_getxattr_buffer_growth(tempfile_symlink):
7878

7979

8080
@pytest.mark.parametrize(
81-
"lstring, splitted", [(b"", []), (b"\x00", [b""]), (b"\x01a", [b"a"]), (b"\x01a\x02cd", [b"a", b"cd"])]
81+
"lstring, expected", [(b"", []), (b"\x00", [b""]), (b"\x01a", [b"a"]), (b"\x01a\x02cd", [b"a", b"cd"])]
8282
)
83-
def test_split_lstring(lstring, splitted):
84-
assert split_lstring(lstring) == splitted
83+
def test_split_lstring(lstring, expected):
84+
assert split_lstring(lstring) == expected

0 commit comments

Comments
 (0)