Merge pull request #1809 from JamMarHer/patch-1

Instruct users how to prevent a warning.
This commit is contained in:
Anthony Sottile 2021-02-23 18:54:23 -08:00 committed by GitHub
commit f2dffc5237
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View file

@ -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.',
),
]