File tree Expand file tree Collapse file tree 5 files changed +205
-259
lines changed
Expand file tree Collapse file tree 5 files changed +205
-259
lines changed Original file line number Diff line number Diff line change 2323 uv sync --all-extras --all-groups --frozen --no-install-project
2424 uv run ruff format . --check
2525 uv run ruff check . --no-fix
26- uv run mypy .
26+ uv run ty check
2727
2828 pytest :
2929 runs-on : ubuntu-latest
Original file line number Diff line number Diff line change 2626 uv run eof-fixer .
2727 uv run ruff format .
2828 uv run ruff check . --fix
29- uv run mypy .
29+ uv run ty check
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ def build_app() -> litestar.Litestar:
2323 bootstrap_config = dataclasses .replace (
2424 settings .api_bootstrapper_config ,
2525 application_config = AppConfig (
26- exception_handlers = {
26+ exception_handlers = { # type: ignore[invalid-argument-type]
2727 DuplicateKeyError : exceptions .duplicate_key_error_handler ,
2828 },
2929 route_handlers = [ROUTER ],
@@ -36,7 +36,7 @@ def build_app() -> litestar.Litestar:
3636 ),
3737 opentelemetry_instrumentors = [
3838 SQLAlchemyInstrumentor (),
39- AsyncPGInstrumentor (capture_parameters = True ), # type: ignore[no-untyped-call]
39+ AsyncPGInstrumentor (capture_parameters = True ),
4040 ],
4141 )
4242 bootstrapper = LitestarBootstrapper (bootstrap_config = bootstrap_config )
Original file line number Diff line number Diff line change @@ -36,9 +36,8 @@ dev = [
3636]
3737lint = [
3838 " ruff" ,
39- " mypy " ,
39+ " ty " ,
4040 " eof-fixer" ,
41- " asyncpg-stubs" ,
4241]
4342
4443[tool .ruff ]
You can’t perform that action at this time.
0 commit comments