Skip to content

Commit

Permalink
Merge pull request #5686 from freedomofpress/5685-chill-out-safety
Browse files Browse the repository at this point in the history
Added Makefile and requirements changes to allow `make safety` to pass
  • Loading branch information
emkll committed Jan 5, 2021
2 parents 57cb87a + 09964ce commit 0454478
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 9 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ safety: ## Run `safety check` to check python dependencies for vulnerabilities.
@echo "███ Running safety..."
@for req_file in `find . -type f -name '*requirements.txt'`; do \
echo "Checking file $$req_file" \
&& safety check --full-report -r $$req_file \
&& safety check --ignore 39252 --full-report -r $$req_file \
&& echo -e '\n' \
|| exit 1; \
done
Expand Down
1 change: 1 addition & 0 deletions securedrop/requirements/python3/develop-requirements.in
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ pip-tools==4.5.1
psutil>=5.6.6
pyenchant
pylint>=2.5.0
py>=1.10.0
pytest>=6.1.1
pytest-xdist>=2.1.0
python-vagrant
Expand Down
8 changes: 4 additions & 4 deletions securedrop/requirements/python3/develop-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -459,10 +459,10 @@ ptyprocess==0.5.2 \
--hash=sha256:e64193f0047ad603b71f202332ab5527c5e52aa7c8b609704fc28c0dc20c4365 \
--hash=sha256:e8c43b5eee76b2083a9badde89fd1bbce6c8942d1045146e100b7b5e014f4f1a \
# via pexpect
py==1.9.0 \
--hash=sha256:366389d1db726cd2fcfc79732e75410e5fe4d31db13692115529d34069a043c2 \
--hash=sha256:9ca6883ce56b4e8da7e79ac18787889fa5206c79dcc67fb065376cd2fe03f342 \
# via pytest, pytest-forked
py==1.10.0 \
--hash=sha256:21b81bda15b66ef5e1a777a21c4dcd9c20ad3efd0b3f817e7a809035269e1bd3 \
--hash=sha256:3b80836aa6d1feeaa108e046da6423ab8f6ceda6468545ae8d02d9d58d18818a \
# via -r requirements/python3/develop-requirements.in, pytest, pytest-forked
pycodestyle==2.5.0 \
--hash=sha256:95a2219d12372f05704562a14ec30bc76b05a5b297b21a5dfe3f6fac3491ae56 \
--hash=sha256:e40a936c9a450ad81df37f549d676d127b1b66000a6c500caa2b085bc0ca976c \
Expand Down
2 changes: 1 addition & 1 deletion securedrop/requirements/python3/test-requirements.in
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ mock
pathlib2
pillow>=7.2.0
pip-tools==4.5.1
py
py>=1.10.0
pytest>=6.1.1
pytest-xdist>=2.1.0
pluggy>=0.13.1
Expand Down
6 changes: 3 additions & 3 deletions securedrop/requirements/python3/test-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -197,9 +197,9 @@ pluggy==0.13.1 \
--hash=sha256:15b2acde666561e1298d71b523007ed7364de07029219b604cf808bfa1c765b0 \
--hash=sha256:966c145cd83c96502c3c3868f50408687b38434af77734af1e9ca461a4081d2d \
# via -r requirements/python3/test-requirements.in, pytest
py==1.9.0 \
--hash=sha256:366389d1db726cd2fcfc79732e75410e5fe4d31db13692115529d34069a043c2 \
--hash=sha256:9ca6883ce56b4e8da7e79ac18787889fa5206c79dcc67fb065376cd2fe03f342 \
py==1.10.0 \
--hash=sha256:21b81bda15b66ef5e1a777a21c4dcd9c20ad3efd0b3f817e7a809035269e1bd3 \
--hash=sha256:3b80836aa6d1feeaa108e046da6423ab8f6ceda6468545ae8d02d9d58d18818a \
# via -r requirements/python3/test-requirements.in, pytest, pytest-forked
pyparsing==2.4.7 \
--hash=sha256:c203ec8783bf771a155b207279b9bccb8dea02d8f0c9e5f8ead507bc3246ecc1 \
Expand Down

0 comments on commit 0454478

Please sign in to comment.