Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions .github/workflows/pull_request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,9 @@ jobs:
run: uv sync --locked
shell: bash

- name: Pre-commit
uses: pre-commit/action@v3.0.1
with:
extra_args: --all-files
- name: Check code
run: uv run --frozen -- poe check-code
shell: bash

- name: Unit tests
run: uv run --frozen -- pytest -m unit
Expand Down
23 changes: 0 additions & 23 deletions .pre-commit-config.yaml

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ docker compose --file docker-compose-dev.yaml up --detach
```

```bash
uv run -- fastapi dev api/src/api/main.py
uv run -- poe start-api-dev
```

```bash
Expand Down
6 changes: 6 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ dependencies = [
"common",
"domain",
"fastapi[standard]==0.115.12",
"poethepoet==0.34.0",
"pydantic==2.11.4",
"pydantic-settings[azure-key-vault]==2.9.1",
]
Expand Down Expand Up @@ -60,3 +61,8 @@ ignore = [
asyncio_mode = "auto"
asyncio_default_fixture_loop_scope = "function"
markers = ["unit: Unit tests", "integration: Integration tests"]

[tool.poe.tasks]
check-code.shell = "ruff check && ruff format --diff && pyright"
start-api-dev = "fastapi dev api/src/api/main.py"
start-api-pro.shell = "workers=$(nproc) && fastapi run --workers $workers api/src/api/main.py"
24 changes: 24 additions & 0 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.