aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2021-04-13 17:15:53 -0700
committerBryan Newbold <bnewbold@archive.org>2021-04-13 17:15:53 -0700
commit8fced92526fde1d13c2417d01d224de45582443b (patch)
tree9945f5438d4a9ef46c22ea11a53e72f864c6b33a /Makefile
parentb5cc554f37f2b695bb1ca1884fb56110d22ddf02 (diff)
downloadfuzzycat-8fced92526fde1d13c2417d01d224de45582443b.tar.gz
fuzzycat-8fced92526fde1d13c2417d01d224de45582443b.zip
makefile: run common commands inside pipenv
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile14
1 files changed, 7 insertions, 7 deletions
diff --git a/Makefile b/Makefile
index bd57d45..a6159f4 100644
--- a/Makefile
+++ b/Makefile
@@ -15,9 +15,9 @@ deps: ## Install dependencies from setup.py into pipenv
.PHONY: fmt
fmt: ## Apply import sorting and yapf source formatting on all files
- isort --atomic fuzzycat/*
- yapf -p -i -r fuzzycat/*
- yapf -p -i -r tests
+ pipenv run isort --atomic fuzzycat/*
+ pipenv run yapf -p -i -r fuzzycat/*
+ pipenv run yapf -p -i -r tests
.PHONY: dist
dist: ## Create source distribution and wheel
@@ -32,19 +32,19 @@ xar: ## Create a XAR standalone package (https://github.com/facebookincubator/xa
.PHONY: cov
cov: ## Run coverage report
- pytest --cov=fuzzycat fuzzycat/*.py tests/ # --cov-report annotate:cov_annotate --cov-report html
+ pipenv run pytest --cov=fuzzycat fuzzycat/*.py tests/ # --cov-report annotate:cov_annotate --cov-report html
.PHONY: test
test: ## Run coverage report
- pytest -o log_cli=true -s -vvv fuzzycat/*.py tests/*.py
+ pipenv run pytest -o log_cli=true -s -vvv fuzzycat/*.py tests/*.py
.PHONY: lint
lint: $(PY_FILES) ## Run pylint
- pylint fuzzycat
+ pipenv run pylint fuzzycat
.PHONY: mypy
mypy: ## Run mypy checks
- mypy --strict $$(find fuzzycat -name "*py")
+ pipenv run mypy --strict $$(find fuzzycat -name "*py")
.PHONY: clean
clean: ## Clean all artifacts