From ad83847b77c5add67e983f4081d96f08f53da122 Mon Sep 17 00:00:00 2001 From: skshetry <18718008+skshetry@users.noreply.github.com> Date: Thu, 5 Dec 2024 09:53:20 +0545 Subject: [PATCH] Remove safety --- .github/workflows/tests.yml | 4 ++-- noxfile.py | 8 -------- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 9155927..922ec47 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -40,8 +40,8 @@ jobs: pip --version nox --version - - name: Lint code and check dependencies - run: nox -s lint safety + - name: Lint code + run: nox -s lint - name: Run tests env: diff --git a/noxfile.py b/noxfile.py index 05e83f5..e7da2d4 100644 --- a/noxfile.py +++ b/noxfile.py @@ -34,14 +34,6 @@ def lint(session: nox.Session) -> None: session.run("python", "-m", "pylint", *locations) -@nox.session -def safety(session: nox.Session) -> None: - """Scan dependencies for insecure packages.""" - session.install(".[dev]") - session.install("safety") - session.run("safety", "check", "--full-report") - - @nox.session def build(session: nox.Session) -> None: session.install("build", "setuptools", "twine")