Open source video conferencing app powered by LiveKit. Built with Django and React.
♻️(devex) update Makefile lint targets and harmonize service naming
leoa33e35111c32
diff --git a/Makefile b/Makefileindex 2e5ae839..e78bee76 100644--- a/Makefile+++ b/Makefile@@ -39,14 +39,16 @@ DB_PORT = 5432DOCKER_UID = $(shell id -u)DOCKER_GID = $(shell id -g)DOCKER_USER = $(DOCKER_UID):$(DOCKER_GID)-COMPOSE = DOCKER_USER=$(DOCKER_USER) docker compose-COMPOSE_EXEC = $(COMPOSE) exec-COMPOSE_EXEC_APP = $(COMPOSE_EXEC) app-dev-COMPOSE_RUN = $(COMPOSE) run --rm-COMPOSE_RUN_APP = $(COMPOSE_RUN) app-dev-COMPOSE_RUN_LINT = $(COMPOSE_RUN) --no-deps app-dev-COMPOSE_RUN_CROWDIN = $(COMPOSE_RUN) crowdin crowdin-WAIT_DB = @$(COMPOSE_RUN) dockerize -wait tcp://$(DB_HOST):$(DB_PORT) -timeout 60s+COMPOSE = DOCKER_USER=$(DOCKER_USER) docker compose+COMPOSE_EXEC = $(COMPOSE) exec+COMPOSE_EXEC_APP = $(COMPOSE_EXEC) app-dev+COMPOSE_RUN = $(COMPOSE) run --rm+COMPOSE_RUN_APP = $(COMPOSE_RUN) app-dev+COMPOSE_RUN_LINT_BACK = $(COMPOSE_RUN) --no-deps app-dev+COMPOSE_RUN_LINT_AGENTS = $(COMPOSE_RUN) --no-deps multi-user-transcriber-dev+COMPOSE_RUN_LINT_SUMMARY = $(COMPOSE_RUN) --no-deps app-summary-dev+COMPOSE_RUN_CROWDIN = $(COMPOSE_RUN) crowdin crowdin+WAIT_DB = @$(COMPOSE_RUN) dockerize -wait tcp://$(DB_HOST):$(DB_PORT) -timeout 60s# -- BackendMANAGE = $(COMPOSE_RUN_APP) python manage.py@@ -59,6 +61,10 @@ LINT_PYLINT = pylint meet demo coreLINT_BACK = echo 'lint:ruff-format started…' && $(LINT_RUFF_FORMAT) \&& echo 'lint:ruff-check started…' && $(LINT_RUFF_CHECK) \&& echo 'lint:pylint started…' && $(LINT_PYLINT)+LINT_AGENTS = echo 'lint:ruff-format started…' && $(LINT_RUFF_FORMAT) \+ && echo 'lint:ruff-check started…' && $(LINT_RUFF_CHECK)+LINT_SUMMARY = echo 'lint:ruff-format started…' && $(LINT_RUFF_FORMAT) \+ && echo 'lint:ruff-check started…' && $(LINT_RUFF_CHECK)# -- FrontendPATH_FRONT = ./src/frontend@@ -198,23 +204,37 @@ demo: ## flush db then create a demo for load testing purpose@$(MANAGE) create_demo.PHONY: demo-lint: ## lint back-end python sources- @$(COMPOSE_RUN_LINT) sh -c "$(LINT_BACK)"+lint: ## lint all python sources (back-end, agents, summary)+ @$(MAKE) lint-back+ @$(MAKE) lint-agents+ @$(MAKE) lint-summary.PHONY: lint+lint-back: ## lint back-end python sources+ @$(COMPOSE_RUN_LINT_BACK) sh -c "$(LINT_BACK)"+.PHONY: lint-back++lint-agents: ## lint agents python sources+ @$(COMPOSE_RUN_LINT_AGENTS) sh -c "$(LINT_AGENTS)"+.PHONY: lint-agents++lint-summary: ## lint summary python sources+ @$(COMPOSE_RUN_LINT_SUMMARY) sh -c "$(LINT_SUMMARY)"+.PHONY: lint-summary+lint-ruff-format: ## format back-end python sources with ruff@echo 'lint:ruff-format started…'- @$(COMPOSE_RUN_LINT) $(LINT_RUFF_FORMAT)+ @$(COMPOSE_RUN_LINT_BACK) $(LINT_RUFF_FORMAT).PHONY: lint-ruff-formatlint-ruff-check: ## lint back-end python sources with ruff@echo 'lint:ruff-check started…'- @$(COMPOSE_RUN_LINT) $(LINT_RUFF_CHECK)+ @$(COMPOSE_RUN_LINT_BACK) $(LINT_RUFF_CHECK).PHONY: lint-ruff-checklint-pylint: ## lint back-end python sources with pylint only on changed files from main@echo 'lint:pylint started…'- @$(COMPOSE_RUN_LINT) $(LINT_PYLINT)+ @$(COMPOSE_RUN_LINT_BACK) $(LINT_PYLINT).PHONY: lint-pylinttest: ## run project tests; pass extra pytest args via ARGS, e.g. `make test ARGS="-vv"`diff --git a/compose.yml b/compose.ymlindex 8e93a789..da747991 100644--- a/compose.yml+++ b/compose.yml@@ -233,6 +233,7 @@ services:build:context: ./src/agentstarget: development+ user: ${DOCKER_USER:-1000}command: ["python", "metadata_collector.py", "dev"]env_file:- env.d/development/metadata_collector@@ -251,6 +252,7 @@ services:build:context: ./src/agentstarget: development+ user: ${DOCKER_USER:-1000}command: ["python", "multi_user_transcriber.py", "dev"]env_file:- env.d/development/multi_user_transcriber