From c4950a2bd0df3dad318febd9ac500d685e33f97c Mon Sep 17 00:00:00 2001 From: Sergio Garcia Prado Date: Sat, 31 Aug 2019 13:13:20 +0200 Subject: [PATCH] * Minor bug fixing. #41 --- .travis.yml | 4 ++-- setup.cfg | 5 ++++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 4e1f8f7d..4e78b496 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,8 +8,8 @@ install: - 'pipenv sync' script: - 'pipenv run flake8' - - 'pipenv run flake8' - - 'pipenv run coverage run --source=jinete --module unittest discover tests' + - 'pipenv run mypy' + - 'pipenv run coverage run -m unittest discover tests' after_success: - 'pipenv run codecov' diff --git a/setup.cfg b/setup.cfg index d74ad4ce..a29c968e 100644 --- a/setup.cfg +++ b/setup.cfg @@ -8,9 +8,12 @@ per-file-ignores = ./**/__init__.py:F401 +[coverage:run] +source=jinete + [mypy] ignore_missing_imports = True files = examples/**/*.py, jinete/**/*.py, - tests/**/*.py \ No newline at end of file + tests/**/*.py