Skip to content

Commit

Permalink
Fix Makefile help
Browse files Browse the repository at this point in the history
  • Loading branch information
droserasprout committed Feb 7, 2024
1 parent bd6dfd3 commit 4c5db4c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ TAG=latest
##

help: ## Show this help (default)
@fgrep -h "##" $(MAKEFILE_LIST) | fgrep -v fgrep | sed -e 's/\\$$//' | sed -e 's/##//'
@grep -Fh "##" $(MAKEFILE_LIST) | grep -Fv grep -F | sed -e 's/\\$$//' | sed -e 's/##//'

all: ## Run a whole CI pipeline: lint, run tests, build docs
make install lint test docs
Expand All @@ -31,8 +31,8 @@ install: ## Install project dependencies
poetry install \
`if [ "${DEV}" = "0" ]; then echo "--no-dev"; fi`

## Lint with all tools
lint: isort black ruff mypy
lint: ## Lint with all tools
make isort black ruff mypy

test: ## Run test suite
# FIXME: https://github.com/pytest-dev/pytest-xdist/issues/385#issuecomment-1177147322
Expand Down Expand Up @@ -61,7 +61,7 @@ isort: ## Format with isort
black: ## Format with black
poetry run black src tests scripts --exclude ".*/docs.py"

ruff: ## Lint with ruff
ruff: ## Lint with ruff
poetry run ruff check src tests scripts

mypy: ## Lint with mypy
Expand Down Expand Up @@ -95,7 +95,7 @@ release-major: ## Release major version
clean: ## Remove all files from .gitignore except for `.venv`
git clean -xdf --exclude=".venv"

update: ## Update dependencies, export requirements.txt
update: ## Update dependencies, export requirements.txt
poetry update

cp pyproject.toml pyproject.toml.bak
Expand Down

0 comments on commit 4c5db4c

Please sign in to comment.