aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMartin Czygan <martin.czygan@gmail.com>2021-02-19 00:02:43 +0100
committerMartin Czygan <martin.czygan@gmail.com>2021-02-19 00:02:43 +0100
commit06c6d43c4dd358de41b27216f245ccf12a411285 (patch)
treee6eebcdca877b9a71e24d24fd770528a33041cfc /Makefile
parente46ef8f4e28124b43d016f6d4db93d44991e47a0 (diff)
downloadfuzzycat-06c6d43c4dd358de41b27216f245ccf12a411285.tar.gz
fuzzycat-06c6d43c4dd358de41b27216f245ccf12a411285.zip
update makefile
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile34
1 files changed, 17 insertions, 17 deletions
diff --git a/Makefile b/Makefile
index eaa1970..5a684f9 100644
--- a/Makefile
+++ b/Makefile
@@ -41,11 +41,11 @@ test: ## Run coverage report
pytest -o log_cli=true -s -vvv fuzzycat/*.py tests/*.py
.PHONY: lint
-lint: $(PY_FILES)
+lint: $(PY_FILES) ## Run pylint
pylint fuzzycat
.PHONY: mypy
-mypy:
+mypy: ## Run mypy checks
mypy --strict $$(find fuzzycat -name "*py")
.PHONY: clean
@@ -62,7 +62,7 @@ clean: ## Clean all artifacts
# Upload requires https://github.com/pypa/twine and some configuration.
.PHONY: upload
-upload: dist
+upload: dist ## Upload to pypi
# https://pypi.org/account/register/
# $ cat ~/.pypirc
# [pypi]
@@ -77,17 +77,17 @@ upload: dist
twine upload $(TWINE_OPTS) dist/*
# ==== data related targets
-
-data/release_export_expanded.json.gz: ## Download release export
- mkdir -p data
- wget -c https://archive.org/download/$(FATCAT_BULK_EXPORT_ITEM)/release_export_expanded.json.gz -O $@
-
-data/container_export.json.gz: ## Download container export
- mkdir -p data
- wget -c https://archive.org/download/$(FATCAT_BULK_EXPORT_ITEM)/container_export.json.gz -O $@
-
-data/name_to_issn.json: data/issn.ndj ## Create a name to ISSN mapping (needs an ISSN JSON dump)
- fuzzycat-issn --make-mapping $^ > $@
-
-names.db: data/issn.ndj
- fuzzycat-issn --make-shelve -c basic -o names $^
+#
+# data/release_export_expanded.json.gz: ## Download release export
+# mkdir -p data
+# wget -c https://archive.org/download/$(FATCAT_BULK_EXPORT_ITEM)/release_export_expanded.json.gz -O $@
+#
+# data/container_export.json.gz: ## Download container export
+# mkdir -p data
+# wget -c https://archive.org/download/$(FATCAT_BULK_EXPORT_ITEM)/container_export.json.gz -O $@
+#
+# data/name_to_issn.json: data/issn.ndj ## Create a name to ISSN mapping (needs an ISSN JSON dump)
+# fuzzycat-issn --make-mapping $^ > $@
+#
+# names.db: data/issn.ndj
+# fuzzycat-issn --make-shelve -c basic -o names $^