Skip to content

Commit

Permalink
fix: update all requirements, safety ignore
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewthetechie committed Dec 5, 2022
1 parent ea583b1 commit ebc1e86
Show file tree
Hide file tree
Showing 2 changed files with 433 additions and 434 deletions.
6 changes: 5 additions & 1 deletion noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,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)
Expand Down
Loading

0 comments on commit ebc1e86

Please sign in to comment.