diff --git a/noxfile.py b/noxfile.py index 36f1386..b565ac7 100644 --- a/noxfile.py +++ b/noxfile.py @@ -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 diff --git a/pyproject.toml b/pyproject.toml index d3107ce..575605c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -41,7 +41,7 @@ docs = [ ] tests = [ "pytest>=7,<9", - "pytest-celery", + "pytest-celery<1", "pytest-cov>=4.1.0", "pytest-mock", "pytest-rerunfailures",