Skip to content

Commit 6ed3b21

Browse files
committed
fix: remove faulty kwarg from nox session security-python
1 parent 76a5827 commit 6ed3b21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

{{cookiecutter.project_name}}/noxfile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ def security_python(session: Session) -> None:
152152
session.run("bandit", "-r", PACKAGE_NAME, "-c", "bandit.yml", "-ll")
153153

154154
session.log(f"Running pip-audit dependency security check with py{session.python}.")
155-
session.run("pip-audit", "--python", str(Path(session.python)))
155+
session.run("pip-audit")
156156

157157

158158
@nox.session(python=PYTHON_VERSIONS, name="tests-python")

0 commit comments

Comments
 (0)