Skip to content

Commit

Permalink
Merge pull request #1979 from peastman/types
Browse files Browse the repository at this point in the history
Begin adding type annotations
  • Loading branch information
Bharath Ramsundar committed Jul 15, 2020
2 parents 344b1ff + bf18bcb commit a509167
Show file tree
Hide file tree
Showing 15 changed files with 635 additions and 375 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,14 @@ install:
- bash scripts/install_deepchem_conda.sh deepchem
- conda activate deepchem
- python setup.py install
- conda install mypy
- pip install coveralls yapf==0.22.0
script:
- pytest -m "not slow" --cov=deepchem deepchem
- if [ $TRAVIS_PYTHON_VERSION == '3.7' ]; then
find ./deepchem -name "*.py" ! -name '*load_dataset_template.py' | xargs python -m doctest -v; fi
- bash devtools/travis-ci/test_format_code.sh
- mypy -p deepchem --ignore-missing-imports
- if [ $TRAVIS_PYTHON_VERSION == '3.7' ]; then
cd docs && pip install -r requirements.txt && make clean html && cd ..; fi
after_success:
Expand Down
Loading

0 comments on commit a509167

Please sign in to comment.