From 05372226774d35f0bcccb5ab6b1f23eff780318b Mon Sep 17 00:00:00 2001 From: Michell Stuttgart Date: Fri, 4 May 2018 06:37:59 -0300 Subject: [PATCH] [FIX] Corrige comando de teste do tox.ini --- Makefile | 3 +++ tox.ini | 4 +++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 5d3fc98..d609c7d 100644 --- a/Makefile +++ b/Makefile @@ -50,6 +50,9 @@ clean-test: ## remove test and coverage artifacts lint: ## check style with flake8 flake8 pysigep tests +check-setup: ## valida readme.rst e setup.py +python setup.py check --restructuredtext + test: ## run tests quickly with the default Python python setup.py test diff --git a/tox.ini b/tox.ini index 0061c06..641ef7f 100644 --- a/tox.ini +++ b/tox.ini @@ -21,4 +21,6 @@ deps = -r{toxinidir}/requirements.txt commands = pip install -U pip - coverage run --source=pysigep setup.py test + python setup.py test + make check-setup +