diff options
author | Bryan Newbold <bnewbold@archive.org> | 2021-10-27 15:08:58 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@archive.org> | 2021-10-27 18:25:58 -0700 |
commit | 02249d03d086e71a589733280a2f5e32990f72b1 (patch) | |
tree | f3e4da860d40a938ec2a8f3d0af101e5bdb9e08b /Makefile | |
parent | 40cc2abe0c7b52d84ca016520b2e96b25bae76b2 (diff) | |
download | fatcat-scholar-02249d03d086e71a589733280a2f5e32990f72b1.tar.gz fatcat-scholar-02249d03d086e71a589733280a2f5e32990f72b1.zip |
update lint, fmt, make settings
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -16,12 +16,17 @@ dep: ## Install dependencies using pipenv .PHONY: lint lint: ## Run lints (eg, flake8, mypy) pipenv run flake8 fatcat_scholar/ tests/ --exit-zero + pipenv run isort -q -c fatcat_scholar/ tests/ || true pipenv run mypy fatcat_scholar/ tests/ --ignore-missing-imports - #pipenv run pytype fatcat_scholar/ + +.PHONY: pytype +pytype: ## Run slow pytype type check (not part of dev deps) + pipenv run pytype fatcat_scholar/ .PHONY: fmt fmt: ## Run code formating on all source code - pipenv run black fatcat_scholar/ tests/ + pipenv run isort --atomic fatcat_scholar/ tests/ + pipenv run black --line-length 88 fatcat_scholar/ tests/ .PHONY: test test: ## Run all tests and lints |