You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have followed every line of instruction on quickstart .my pyenv use is also 3.10.2 as stated in quickstart but I have encountered Session safety failed when I do execute nox for full test. the full test will only passed, if I skip the safety session in noxfile.py . please help
I do not make any changes in noxfile.py all files are the exact same as template started from cookie-cutter.
I have followed every line of instruction on quickstart .my pyenv use is also 3.10.2 as stated in quickstart but I have encountered Session safety failed when I do execute nox for full test. the full test will only passed, if I skip the safety session in noxfile.py . please help
I do not make any changes in noxfile.py all files are the exact same as template started from cookie-cutter.
noxfile.py
@session(python=python_versions[0]) def safety(session: Session) -> None: """Scan dependencies for insecure packages.""" requirements = session.poetry.export_requirements() session.install("safety") session.run("safety", "check", "--full-report", f"--file={requirements}")
step to reproduce:
nox > Command safety check --full-report --file=.nox/safety/tmp/requirements.txt failed with exit code 255
nox > Session safety failed.
The text was updated successfully, but these errors were encountered: