Skip to content

Commit

Permalink
Merge pull request #818 from hugapi/feature/add-safety-check
Browse files Browse the repository at this point in the history
Feature/add safety check
  • Loading branch information
timothycrosley authored Jun 24, 2019
2 parents 2295257 + 04e10e5 commit 5b2bf68
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 3 deletions.
4 changes: 4 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@ matrix:
sudo: required
python: 3.7
env: TOXENV=py37-isort
- os: linux
sudo: required
python: 3.7
env: TOXENV=py37-safety
- os: linux
sudo: required
python: pypy3.5-6.0
Expand Down
5 changes: 2 additions & 3 deletions requirements/build_common.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ pytest-cov==2.4.0
pytest==4.3.1
python-coveralls==2.9.0
wheel==0.29.0
PyJWT==1.4.2
PyJWT==1.7.1
pytest-xdist==1.14.0
numpy==1.15.4

numpy<1.16
1 change: 1 addition & 0 deletions requirements/build_style_tools.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ pep8-naming==0.8.2
flake8-bugbear==19.3.0
vulture==1.0
bandit==1.6.0
safety==1.8.5
8 changes: 8 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,14 @@ deps=
whitelist_externals=flake8
commands=isort -c --diff --recursive hug

[testenv:py37-safety]
deps=
-rrequirements/build_style_tools.txt
marshmallow==3.0.0rc6

whitelist_externals=flake8
commands=safety check -i 36810

[testenv:pywin]
deps =-rrequirements/build_windows.txt
basepython = {env:PYTHON:}\python.exe
Expand Down

0 comments on commit 5b2bf68

Please sign in to comment.