summaryrefslogtreecommitdiff
path: root/noxfile.py
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2023-04-08 18:29:06 -0500
committerGitHub <noreply@github.com>2023-04-09 07:29:06 +0800
commit86ec17028522926bb21ee7bf49b0a1cf6b0477d6 (patch)
tree045ffb87fae8304776b6e5845ea9a65ed8c355a7 /noxfile.py
parent9f36c3fe69644ba0d0d880f8472d4b9a8677f384 (diff)
downloadcryptography-86ec17028522926bb21ee7bf49b0a1cf6b0477d6.tar.gz
silence noxfile warnings running cargo (#8688)
Diffstat (limited to 'noxfile.py')
-rw-r--r--noxfile.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/noxfile.py b/noxfile.py
index 62634b03f..b60d6a602 100644
--- a/noxfile.py
+++ b/noxfile.py
@@ -141,6 +141,6 @@ def rust(session: nox.Session) -> None:
install(session, ".")
with session.chdir("src/rust/"):
- session.run("cargo", "fmt", "--all", "--", "--check")
- session.run("cargo", "clippy", "--", "-D", "warnings")
- session.run("cargo", "test", "--no-default-features")
+ session.run("cargo", "fmt", "--all", "--", "--check", external=True)
+ session.run("cargo", "clippy", "--", "-D", "warnings", external=True)
+ session.run("cargo", "test", "--no-default-features", external=True)