summaryrefslogtreecommitdiff
path: root/noxfile.py
diff options
context:
space:
mode:
authorPaul Moore <p.f.moore@gmail.com>2022-10-08 15:56:57 +0100
committerPaul Moore <p.f.moore@gmail.com>2022-10-08 15:56:57 +0100
commit430a846d3fa5957e77e0f82e6fc7a91f626f34a3 (patch)
tree5f22aec436c66fc9163ec92437a1945b7b2c9bd2 /noxfile.py
parent569d0d7b8e63c8e8849fadd64972ae068c78c68a (diff)
downloadpip-430a846d3fa5957e77e0f82e6fc7a91f626f34a3.tar.gz
Add a warning comment to the vendoring session in noxfile
Diffstat (limited to 'noxfile.py')
-rw-r--r--noxfile.py4
1 files changed, 4 insertions, 0 deletions
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")