Skip to content
Snippets Groups Projects
Unverified Commit deb7c162 authored by Tim O'Donnell's avatar Tim O'Donnell Committed by GitHub
Browse files

Merge pull request #142 from openvax/safe_load

Safe load
parents 35fd95fa 8e3a51f4
No related branches found
No related tags found
No related merge requests found
......@@ -29,12 +29,12 @@ addons:
install:
- >
conda create -q -n test-environment python=$TRAVIS_PYTHON_VERSION
numpy scipy nose pandas matplotlib mkl-service theano
numpy scipy nose pandas matplotlib mkl-service
- source activate test-environment
- pip install tensorflow pypandoc pylint
- pip install tensorflow pypandoc pylint 'theano>=1.0.4'
- pip install -r requirements.txt
- pip install .
- pip install coveralls
- pip freeze
env:
global:
- PYTHONHASHSEED=0
......@@ -47,6 +47,5 @@ script:
# download data and models, then run tests
- mhcflurry-downloads fetch
- mhcflurry-downloads info # just to test this command works
- nosetests test -sv --with-coverage --cover-package=mhcflurry && ./lint.sh
after_success:
coveralls
- nosetests test -sv
- ./lint.sh
......@@ -10,6 +10,6 @@ set -o errexit
find . -name '*.py' -not -path "./docs/*" \
| xargs pylint \
--errors-only \
--disable=unsubscriptable-object,not-an-iterable,no-member
--disable=unsubscriptable-object,not-an-iterable,no-member,assignment-from-no-return
echo 'Passes pylint check'
......@@ -50,7 +50,7 @@ def get_downloads_metadata():
"""
global _METADATA
if _METADATA is None:
_METADATA = yaml.load(resource_string(__name__, "downloads.yml"))
_METADATA = yaml.safe_load(resource_string(__name__, "downloads.yml"))
return _METADATA
......
__version__ = "1.2.3"
__version__ = "1.2.4"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment