mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 08:14:42 +04:00
Instruct users how to prevent a mutable rev in repo warning.
This commit is contained in:
parent
d7b189ce56
commit
3d31858ee3
2 changed files with 4 additions and 2 deletions
|
|
@ -128,7 +128,8 @@ class WarnMutableRev(cfgv.ConditionalOptional):
|
|||
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.',
|
||||
)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue