Skip to content

Commit f37765b

Browse files
committed
Only run audit on dependencies
Not sure if this will work.
1 parent ebdb30e commit f37765b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

noxfile.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,9 +103,8 @@ def audit(session, installable):
103103
"""
104104
Audit dependencies for vulnerabilities.
105105
"""
106-
session.run("python", "-m", "pip", "--version")
107106
session.install("pip-audit", installable)
108-
session.run("python", "-m", "pip_audit")
107+
session.run("python", "-m", "pip_audit", "-r", str(REQUIREMENTS["docs"]))
109108

110109

111110
@session()

0 commit comments

Comments
 (0)