Skip to content

Commit cffc293

Browse files
committed
Replace safety with pip-audit.
1 parent 7649a91 commit cffc293

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,9 +109,9 @@ jobs:
109109
- name: "3.11"
110110
toxenv: docs-style
111111
- name: "3.11"
112-
toxenv: readme
112+
toxenv: audit
113113
- name: "3.11"
114-
toxenv: safety
114+
toxenv: readme
115115
- name: "3.11"
116116
toxenv: secrets
117117
- name: "3.11"

tox.ini

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
[tox]
22
envlist =
33
py{37,38,39,310,311,py3}-{noextra,format,formatnongpl}-{build,tests}
4+
audit
45
readme
5-
safety
66
secrets
77
style
88
typing
@@ -63,11 +63,11 @@ commands =
6363
{envpython} -m twine check {envtmpdir}/dist/*
6464
{envbindir}/rst2html5.py --halt=warning {toxinidir}/CHANGELOG.rst /dev/null
6565

66-
[testenv:safety]
67-
deps = safety
66+
[testenv:audit]
67+
deps = pip-audit
6868
commands =
6969
{envpython} -m pip install --disable-pip-version-check '{toxinidir}[format]'
70-
{envpython} -m safety check
70+
{envpython} -m pip_audit
7171

7272
[testenv:secrets]
7373
deps = detect-secrets

0 commit comments

Comments
 (0)