Skip to content

Commit

Permalink
remove unnecessary volume mount from prettier invokation
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremywmoore committed Sep 23, 2024
1 parent 57b0ffd commit ed14ba1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,13 @@ lint: ## Lint the code
poetry run ruff format --check && \
poetry run ruff check && \
poetry run mypy .
docker compose run --rm -v $(shell pwd):/work app npx prettier --check ./*.md ./docs ./.github/workflows/* ./hushline
docker compose run --rm app npx prettier --check ./*.md ./docs ./.github/workflows/* ./hushline

.PHONY: fix
fix: ## Format the code
poetry run ruff format && \
poetry run ruff check --fix
docker compose run --rm -v $(shell pwd):/work app npx prettier --write ./*.md ./docs ./.github/workflows/* ./hushline
docker compose run --rm app npx prettier --write ./*.md ./docs ./.github/workflows/* ./hushline

.PHONY: revision
revision: migrate-prod ## Create a new migration
Expand Down

0 comments on commit ed14ba1

Please sign in to comment.