mirror of
https://github.com/andrewthetechie/py-healthchecks.io.git
synced 2025-12-05 09:08:09 +01:00
Update noxfile.py
This commit is contained in:
@@ -142,7 +142,11 @@ 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}")
|
||||
# ignore https://github.com/pytest-dev/py/issues/287
|
||||
# its an irresposnbily filed CVE causing nose
|
||||
session.run(
|
||||
"safety", "check", "--full-report", f"--file={requirements}", "--ignore=51457"
|
||||
)
|
||||
|
||||
|
||||
@session(python=python_versions)
|
||||
|
||||
Reference in New Issue
Block a user