From 430a846d3fa5957e77e0f82e6fc7a91f626f34a3 Mon Sep 17 00:00:00 2001 From: Paul Moore Date: Sat, 8 Oct 2022 15:56:57 +0100 Subject: [PATCH] Add a warning comment to the vendoring session in noxfile --- noxfile.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/noxfile.py b/noxfile.py index 8199b64a6..975f52c25 100644 --- a/noxfile.py +++ b/noxfile.py @@ -172,6 +172,10 @@ def lint(session: nox.Session) -> None: session.run("pre-commit", "run", *args) +# NOTE: This session will COMMIT upgardes to vendored libraries. +# You should therefore not run it directly against main, as you +# will put your main branch out of sync with upstream. Always run +# it on a dedicated branch @nox.session def vendoring(session: nox.Session) -> None: session.install("vendoring~=1.2.0") -- GitLab