Skip to content

Commit aaf6255

Browse files
authored
Merge pull request #1331 from scop/renovate/crate-ci-typos-1.x
chore(pre-commit): update crate-ci/typos to v1.35.1
2 parents 4bd8b58 + f14c4d0 commit aaf6255

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
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.29.5
101+
rev: v1.35.1
102102
hooks:
103103
- id: typos
104104
exclude: ^(CHANGELOG\.md|test/(test-cmd-list\.txt|fixtures/.+))$

test/t/test_time.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,11 @@ def test_command(self, completion):
1414
"""
1515
assert completion == "ed" or "_comp_delimited" in completion
1616

17-
@pytest.mark.complete("time -p find -typ")
17+
@pytest.mark.complete(
18+
"time -p bash --", skipif="! bash --help &>/dev/null"
19+
)
1820
def test_2(self, completion):
19-
assert completion # find's options
21+
assert "--login" in completion # bash's options
2022

2123
@pytest.mark.complete("time shared/bin/")
2224
def test_3(self, completion):

0 commit comments

Comments
 (0)