Skip to content

Commit 76a5827

Browse files
committed
fix: adjust bandit.yml path in nox session security-python
1 parent fe597e3 commit 76a5827

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
@@ -149,7 +149,7 @@ def security_python(session: Session) -> None:
149149
session.install("-e", ".", "--group", "dev", "--group", "security")
150150

151151
session.log(f"Running Bandit static security analysis with py{session.python}.")
152-
session.run("bandit", "-r", PACKAGE_NAME, "-c", ".bandit", "-ll")
152+
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}.")
155155
session.run("pip-audit", "--python", str(Path(session.python)))

0 commit comments

Comments
 (0)