From 1e413f8fb818bc211f128b63110327d1e3f88152 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Tue, 10 Nov 2020 21:53:03 -0800 Subject: make: run pytest over fuzzycat/ to catch inline tests --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 7a0490e..25efac0 100644 --- a/Makefile +++ b/Makefile @@ -16,7 +16,7 @@ deps: ## Install dependencies from setup.py into pipenv pipenv install --pre '-e .[dev]' .PHONY: style -style: ## Apply import sorting and black source formatting on all files +style: ## Apply import sorting and yapf source formatting on all files isort --atomic fuzzycat/* yapf -p -i -r fuzzycat/* yapf -p -i -r tests @@ -27,11 +27,11 @@ dist: ## Create source distribution and wheel .PHONY: cov cov: ## Run coverage report - pytest --cov=fuzzycat tests/ + pytest --cov=fuzzycat fuzzycat/*.py tests/ .PHONY: test test: ## Run coverage report - pytest -v tests/ + pytest -v fuzzycat/*.py tests/ .PHONY: lint lint: $(PY_FILES) -- cgit v1.2.3