Skip to content

Commit 3ba218d

Browse files
committed
update packages
1 parent 0a67a8c commit 3ba218d

File tree

3 files changed

+122
-129
lines changed

3 files changed

+122
-129
lines changed

Justfile

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,27 @@
11
default: install lint build test
22

3-
# down all app containers
43
down:
54
docker compose down --remove-orphans
65

7-
# run shell in container
86
sh:
97
docker compose run --service-ports application bash
108

11-
# run pytest with arguments
129
test *args: down && down
1310
docker compose run application sh -c "sleep 1 && uv run alembic downgrade base && uv run alembic upgrade head && uv run pytest {{ args }}"
1411

15-
# run api
1612
run:
1713
docker compose run --service-ports application sh -c "sleep 1 && uv run alembic upgrade head && uv run python -m app"
1814

19-
# create alembic migration with arguments
2015
migration *args: && down
2116
docker compose run application sh -c "sleep 1 && uv run alembic upgrade head && uv run alembic revision --autogenerate {{ args }}"
2217

23-
# build app docker container
2418
build:
2519
docker compose build application
2620

27-
# install local dependencies
2821
install:
2922
uv lock --upgrade
3023
uv sync --all-extras --no-install-project --frozen
3124

32-
# run linters
3325
lint:
3426
uv run ruff format .
3527
uv run ruff check . --fix

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ ignore = [
5353
"D213", # "multi-line-summary-second-line" conflicting with D212
5454
"COM812", # flake8-commas "Trailing comma missing"
5555
"ISC001", # flake8-implicit-str-concat
56+
"S105", # Possible hardcoded password
5657
]
5758
isort.lines-after-imports = 2
5859
isort.no-lines-before = ["standard-library", "local-folder"]

0 commit comments

Comments
 (0)