Skip to content

Commit efe5df1

Browse files
authored
Merge pull request #78 from pre-commit/update-test
2 parents 9e940d4 + e7c703f commit efe5df1

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

tests/sync_pre_commit_deps_test.py

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,26 @@
2222
' - black==23.3.0\n',
2323
id='already correct version',
2424
),
25+
pytest.param(
26+
'repos:\n'
27+
'- repo: https://github.com/adamchainz/blacken-docs\n'
28+
' rev: 1.15.0\n'
29+
' hooks:\n'
30+
' - id: blacken-docs\n'
31+
' additional_dependencies:\n'
32+
' - black==23.3.0\n',
33+
id='no hook to get the version from',
34+
),
35+
pytest.param(
36+
'repos:\n'
37+
'- repo: https://github.com/PyCQA/flake8\n'
38+
' rev: 6.0.0\n'
39+
' hooks:\n'
40+
' - id: flake8\n'
41+
' additional_dependencies:\n'
42+
' - flake-bugbear==3.1.0\n',
43+
id='dep not supported',
44+
),
2545
pytest.param(
2646
'repos:\n'
2747
'- repo: local\n'

0 commit comments

Comments
 (0)