mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 00:04:42 +04:00
Make autoupdate --tags-only the default, add --bleeding-edge
This commit is contained in:
parent
1be4e4f82e
commit
918179849d
4 changed files with 28 additions and 12 deletions
|
|
@ -127,3 +127,8 @@ def test_expected_fatal_error_no_git_repo(
|
|||
'Is it installed, and are you in a Git repository directory?\n'
|
||||
'Check the log at ~/.pre-commit/pre-commit.log\n'
|
||||
)
|
||||
|
||||
|
||||
def test_warning_on_tags_only(mock_commands, cap_out):
|
||||
main.main(('autoupdate', '--tags-only'))
|
||||
assert '--tags-only is the default' in cap_out.get()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue