Skip to content

Commit

Permalink
Ignore CVE-2020-28476 affecting all versions of tornado
Browse files Browse the repository at this point in the history
  • Loading branch information
cjolowicz committed Feb 1, 2021
1 parent 51797a1 commit 01aecda
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,9 @@ def safety(session: Session) -> None:
"""Scan dependencies for insecure packages."""
requirements = nox_poetry.export_requirements(session)
session.install("safety")
session.run("safety", "check", f"--file={requirements}", "--bare")
# Ignore CVE-2020-28476 affecting all versions of tornado
# https://github.com/tornadoweb/tornado/issues/2981
session.run("safety", "check", f"--file={requirements}", "--bare", "-ignore=39462")


@nox.session(python=python_versions)
Expand Down

0 comments on commit 01aecda

Please sign in to comment.