mirror of
https://framagit.org/framasoft/framaspace/argos.git
synced 2025-04-28 18:02:41 +02:00
🚚 — Set Alembic’s version_locations to new location
This commit is contained in:
parent
ad5a90c5e7
commit
a9b7b8f750
2 changed files with 5 additions and 5 deletions
6
Makefile
6
Makefile
|
@ -5,7 +5,7 @@ ORANGE=\033[0;33m
|
|||
BLUE=\033[0;34m
|
||||
NC=\033[0m # No Color
|
||||
|
||||
.PHONY: test djlint pylint
|
||||
.PHONY: test lint djlint pylint ruff
|
||||
|
||||
venv: ## Create the venv
|
||||
python3 -m venv venv
|
||||
|
@ -27,9 +27,7 @@ djlint: venv ## Format the templates
|
|||
venv/bin/djlint --ignore=H030,H031,H006 --profile jinja --lint argos/server/templates/*html
|
||||
pylint: venv ## Runs pylint on the code
|
||||
venv/bin/pylint argos
|
||||
pylint-alembic: venv ## Runs pylint on alembic migration files
|
||||
venv/bin/pylint --disable invalid-name,no-member alembic/versions/*.py
|
||||
lint: djlint pylint pylint-alembic ruff
|
||||
lint: djlint pylint ruff
|
||||
help:
|
||||
@python3 -c "$$PRINT_HELP_PYSCRIPT" < $(MAKEFILE_LIST)
|
||||
|
||||
|
|
|
@ -5,6 +5,8 @@ prepend_sys_path = .
|
|||
version_path_separator = os
|
||||
sqlalchemy.url = sqlite:////tmp/argos.db
|
||||
|
||||
version_locations = %(here)s/argos/server/migrations/versions
|
||||
|
||||
# Logging configuration
|
||||
[loggers]
|
||||
keys = root,sqlalchemy,alembic
|
||||
|
|
Loading…
Reference in a new issue