aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2020-11-10 21:53:03 -0800
committerBryan Newbold <bnewbold@archive.org>2020-11-10 21:53:03 -0800
commit1e413f8fb818bc211f128b63110327d1e3f88152 (patch)
tree1996601c90c0de4e9b4d8790c7cc8d06f7cb4f4e /Makefile
parentba035d8641a5e94d93448bb9a0cd56c7756d7055 (diff)
downloadfuzzycat-1e413f8fb818bc211f128b63110327d1e3f88152.tar.gz
fuzzycat-1e413f8fb818bc211f128b63110327d1e3f88152.zip
make: run pytest over fuzzycat/ to catch inline tests
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files 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)