diff options
-rw-r--r-- | Makefile | 5 | ||||
-rw-r--r-- | setup.py | 3 |
2 files changed, 5 insertions, 3 deletions
@@ -16,8 +16,9 @@ data/release_export_expanded.json.gz: ## Download release export mkdir -p data wget -c https://archive.org/download/fatcat_bulk_exports_2020-08-05/release_export_expanded.json.gz -O $@ -.PHONY: black -black: ## Format all Python files +.PHONY: style +style: ## Apply import sorting and black source formatting on all files + isort -c --atomic . find . -name "*.py" -exec black {} \; .PHONY: dist @@ -1,4 +1,5 @@ import setuptools + from fuzzycat import __version__ with open("README.md", "r") as fh: @@ -23,5 +24,5 @@ with open("README.md", "r") as fh: zip_safe=False, entry_points={"console_scripts": ["fuzzycat=fuzzycat.main:main",],}, install_requires=[], - extras_require={"dev": ["black", "twine"],}, + extras_require={"dev": ["black", "twine", "isort"],}, ) |