Skip to content

Commit

Permalink
don't run ruff/mypy via container
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremywmoore committed Sep 23, 2024
1 parent da7b950 commit 8941957
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,13 @@ migrate-prod: ## Run prod env (alembic) migrations

.PHONY: lint
lint: ## Lint the code
docker compose run --rm app \
poetry run ruff format --check && \
poetry run ruff check && \
poetry run mypy .
docker run --rm -v $(shell pwd):/work tmknom/prettier:3.2.5 --check ./*.md ./docs ./.github/workflows/* ./hushline

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

0 comments on commit 8941957

Please sign in to comment.