Skip to content

Commit 6b723a6

Browse files
committed
Get rid of usage of the safety package.
1 parent b5efe2f commit 6b723a6

File tree

3 files changed

+0
-10
lines changed

3 files changed

+0
-10
lines changed

.github/workflows/tests.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ jobs:
1313
matrix:
1414
include:
1515
- { python: "3.10", os: "ubuntu-latest", session: "pre-commit" }
16-
- { python: "3.10", os: "ubuntu-latest", session: "safety" }
1716
- { python: "3.10", os: "ubuntu-latest", session: "mypy" }
1817
- { python: "3.10", os: "ubuntu-latest", session: "tests" }
1918
- { python: "3.10", os: "windows-latest", session: "tests" }

noxfile.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
nox.needs_version = ">= 2021.6.6"
2929
nox.options.sessions = (
3030
"pre-commit",
31-
"safety",
3231
"mypy",
3332
"tests",
3433
# "typeguard",
@@ -138,13 +137,6 @@ def precommit(session: Session) -> None:
138137
activate_virtualenv_in_precommit_hooks(session)
139138

140139

141-
@session(python=python_versions[0])
142-
def safety(session: Session) -> None:
143-
"""Scan dependencies for insecure packages."""
144-
requirements = session.poetry.export_requirements()
145-
session.install("safety")
146-
session.run("safety", "check", "--full-report", f"--file={requirements}")
147-
148140

149141
@session(python=python_versions)
150142
def mypy(session: Session) -> None:

pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ pre-commit = ">=2.16.0"
4242
pre-commit-hooks = ">=4.1.0"
4343
pytest = ">=6.2.5"
4444
pyupgrade = ">=2.29.1"
45-
safety = ">=1.10.3"
4645
sphinx = ">=4.3.2"
4746
sphinx-autobuild = ">=2021.3.14"
4847
sphinx-click = ">=3.0.2"

0 commit comments

Comments
 (0)