Skip to content

Commit d2c3b55

Browse files
authored
Merge pull request #1299 from scop/renovate/crate-ci-typos-1.x
chore(pre-commit): update crate-ci/typos to v1.29.5
2 parents 15414a6 + f0e28d9 commit d2c3b55

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

.pre-commit-config.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ repos:
9898
- id: check-case-conflict
9999

100100
- repo: https://github.com/crate-ci/typos
101-
rev: v1.28.4
101+
rev: v1.29.5
102102
hooks:
103103
- id: typos
104104
exclude: ^(CHANGELOG\.md|test/(test-cmd-list\.txt|fixtures/.+))$

.typos.toml

+2
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
BRE = "BRE"
44

55
[default.extend-words]
6+
# completions/abook
7+
informat = "informat"
68
# completions/ri
79
ane = "ane"
810
# completions/reportbug

test/t/test_time.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@
44

55

66
class TestTime:
7-
@pytest.mark.complete("time _comp_delimite", cwd="shared/empty_dir")
7+
@pytest.mark.complete("time _comp_delimit", cwd="shared/empty_dir")
88
def test_command(self, completion):
99
"""
1010
Test completion of commands.
1111
1212
We use a function of ours as the test subject, as that's guaranteed
1313
to be available, and do not rely on anything in particular in $PATH.
1414
"""
15-
assert completion == "d" or "_comp_delimited" in completion
15+
assert completion == "ed" or "_comp_delimited" in completion
1616

1717
@pytest.mark.complete("time -p find -typ")
1818
def test_2(self, completion):

0 commit comments

Comments
 (0)