make audit for python dependency audits

This commit is contained in:
Ryan Ahearn
2022-08-12 15:12:07 +00:00
parent 55bc3e54ed
commit 2597011cee
3 changed files with 14 additions and 1 deletions

View File

@@ -77,6 +77,11 @@ freeze-requirements: ## Pin all requirements including sub dependencies into req
pip install --upgrade pip-tools pip install --upgrade pip-tools
pip-compile requirements.in pip-compile requirements.in
.PHONY: audit
audit:
pip install --upgrade pip-audit
pip-audit -r requirements.txt -r requirements_for_test.txt -l
.PHONY: clean .PHONY: clean
clean: clean:
rm -rf node_modules cache target venv .coverage build tests/.cache ${CF_MANIFEST_PATH} rm -rf node_modules cache target venv .coverage build tests/.cache ${CF_MANIFEST_PATH}

View File

@@ -86,6 +86,7 @@ flask==2.1.2
# flask-marshmallow # flask-marshmallow
# flask-migrate # flask-migrate
# flask-redis # flask-redis
# flask-sqlalchemy
# gds-metrics # gds-metrics
# notifications-utils # notifications-utils
flask-bcrypt==1.0.1 flask-bcrypt==1.0.1
@@ -118,6 +119,8 @@ idna==3.3
# via # via
# jsonschema # jsonschema
# requests # requests
importlib-metadata==4.12.0
# via flask
iso8601==1.0.2 iso8601==1.0.2
# via -r requirements.in # via -r requirements.in
isoduration==20.11.0 isoduration==20.11.0
@@ -249,9 +252,12 @@ sqlalchemy==1.4.36
# via # via
# -r requirements.in # -r requirements.in
# alembic # alembic
# flask-sqlalchemy
# marshmallow-sqlalchemy # marshmallow-sqlalchemy
statsd==3.3.0 statsd==3.3.0
# via notifications-utils # via notifications-utils
typing-extensions==4.3.0
# via pypdf2
uri-template==1.2.0 uri-template==1.2.0
# via jsonschema # via jsonschema
urllib3==1.26.9 urllib3==1.26.9
@@ -275,6 +281,8 @@ werkzeug==2.0.3
# flask # flask
wrapt==1.14.1 wrapt==1.14.1
# via deprecated # via deprecated
zipp==3.8.1
# via importlib-metadata
# The following packages are considered to be unsafe in a requirements file: # The following packages are considered to be unsafe in a requirements file:
# setuptools # setuptools

View File

@@ -1,4 +1,4 @@
-r requirements.txt --requirement requirements.txt
flake8==4.0.1 flake8==4.0.1
flake8-bugbear==22.4.25 flake8-bugbear==22.4.25
isort==5.10.1 isort==5.10.1