Skip to content

Commit 8bd9de3

Browse files
committed
fix
1 parent 0325f3c commit 8bd9de3

File tree

4 files changed

+22
-3
lines changed

4 files changed

+22
-3
lines changed

.dockerignore

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
.env
2+
.coverage
3+
.gitignore
4+
.idea
5+
.mypy_cache
6+
.ruff_cache
7+
.vscode
8+
.git
9+
.pytest_cache
10+
.DS_Store
11+
*.yml
12+
Dockerfile
13+
**/__pycache__
14+
.hypothesis
15+
.venv

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ WORKDIR /code
1919
COPY pyproject.toml .
2020
COPY uv.lock .
2121

22-
RUN uv sync --all-extras --frozen
22+
RUN uv sync --all-extras --frozen --no-install-project
2323

2424
COPY . .
2525

Justfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@ sh:
77
docker compose run --service-ports application bash
88

99
test *args: down && down
10-
docker compose run application uv run pytest {{ args }}
11-
10+
docker compose run application uv run --no-sync pytest {{ args }}
1211

1312
build:
1413
docker compose build application

pyproject.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,3 +86,8 @@ asyncio_default_fixture_loop_scope = "function"
8686

8787
[tool.coverage.run]
8888
concurrency = ["thread", "greenlet"]
89+
90+
[tool.coverage.report]
91+
exclude_also = [
92+
"if typing.TYPE_CHECKING:",
93+
]

0 commit comments

Comments
 (0)