mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-19 00:54:42 +04:00
improvements/fixes after code review
This commit is contained in:
parent
e36cdc227c
commit
f6c6b6c55f
3 changed files with 2 additions and 13 deletions
|
|
@ -364,12 +364,6 @@ def test_show_diff_on_failure(
|
|||
1,
|
||||
False,
|
||||
),
|
||||
(
|
||||
{'hook': 'nope', 'hook_stage': 'pre-push'},
|
||||
(b'[ERROR] Staged files found. Please commit before pushing\n',),
|
||||
1,
|
||||
True,
|
||||
),
|
||||
(
|
||||
{'all_files': True, 'verbose': True},
|
||||
(b'foo.py',),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue