Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion pre_commit/clientlib.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,8 @@ def check(self, dct: Dict[str, Any]) -> None:
f'(moving tag / branch). Mutable references are never '
f'updated after first install and are not supported. '
f'See https://pre-commit.com/#using-the-latest-version-for-a-repository ' # noqa: E501
f'for more details.',
f'for more details. '
f'Hint: `pre-commit autoupdate` often fixes this.',
)


Expand Down
3 changes: 2 additions & 1 deletion tests/clientlib_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,8 @@ def test_warn_mutable_rev_invalid(caplog, rev):
'Mutable references are never updated after first install and are '
'not supported. '
'See https://pre-commit.com/#using-the-latest-version-for-a-repository ' # noqa: E501
'for more details.',
'for more details. '
'Hint: `pre-commit autoupdate` often fixes this.',
),
]

Expand Down