Skip to content

Commit

Permalink
safety: ignore py vulnerabiility (#129)
Browse files Browse the repository at this point in the history
* safety: ignore py vulnerabiility

It's a test dependency, so it's safe to ignore.

* deps: set upper bound on pytest-celery
  • Loading branch information
skshetry authored May 10, 2024
1 parent 04c537b commit 0e26d1d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def safety(session: nox.Session) -> None:
"""Scan dependencies for insecure packages."""
session.install(".[dev]")
session.install("safety")
session.run("safety", "check", "--full-report")
session.run("safety", "check", "--full-report", "--ignore=51457")


@nox.session
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ docs = [
]
tests = [
"pytest>=7,<9",
"pytest-celery",
"pytest-celery<1",
"pytest-cov>=4.1.0",
"pytest-mock",
"pytest-rerunfailures",
Expand Down

0 comments on commit 0e26d1d

Please sign in to comment.