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
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
uv sync --all-extras --all-groups --frozen --no-install-project
uv run ruff format . --check
uv run ruff check . --no-fix
uv run mypy .
uv run ty check

pytest:
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion Justfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ lint:
uv run eof-fixer .
uv run ruff format .
uv run ruff check . --fix
uv run mypy .
uv run ty check
6 changes: 3 additions & 3 deletions app/application.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import dataclasses
from typing import TYPE_CHECKING
import typing

import modern_di
import modern_di_fastapi
Expand All @@ -13,7 +13,7 @@
from app.settings import settings


if TYPE_CHECKING:
if typing.TYPE_CHECKING:
import fastapi


Expand All @@ -27,7 +27,7 @@ def build_app() -> fastapi.FastAPI:
settings.api_bootstrapper_config,
opentelemetry_instrumentors=[
SQLAlchemyInstrumentor(),
AsyncPGInstrumentor(capture_parameters=True), # type: ignore[no-untyped-call]
AsyncPGInstrumentor(capture_parameters=True),
],
)
bootstrapper = FastAPIBootstrapper(bootstrap_config=bootstrap_config)
Expand Down
8 changes: 1 addition & 7 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,8 @@ dev = [
]
lint = [
"ruff",
"mypy",
"ty",
"eof-fixer",
"asyncpg-stubs",
]

[tool.ruff]
Expand Down Expand Up @@ -71,11 +70,6 @@ isort.no-lines-before = ["standard-library", "local-folder"]
"S101", # allow asserts
]

[tool.mypy]
python_version = "3.14"
strict = true
pretty = true

[tool.pytest.ini_options]
addopts = "--cov=. --cov-report term-missing"
asyncio_mode = "auto"
Expand Down
Loading