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 app/api/dependencies.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@

@lru_cache
def get_settings() -> Settings:
return Settings() # ty: ignore[missing-argument]
return Settings()
2 changes: 1 addition & 1 deletion app/core/django/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

from app.core.settings import Settings

app_settings = Settings() # ty: ignore[missing-argument]
app_settings = Settings()
settings.configure(
DEBUG=app_settings.django.debug,
SECRET_KEY=app_settings.django.secret_key,
Expand Down
2 changes: 1 addition & 1 deletion app/core/fastapi.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from app.api.fastapi.app import create_fastapi_app
from app.core.settings import Settings

settings = Settings() # ty:ignore[missing-argument]
settings = Settings()
app = create_fastapi_app(settings=settings)
2 changes: 1 addition & 1 deletion app/core/flask.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from app.api.flask.app import create_flask_app
from app.core.settings import Settings

settings = Settings() # ty:ignore[missing-argument]
settings = Settings()
app = create_flask_app(settings=settings)
21 changes: 9 additions & 12 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,23 +3,23 @@ name = "python-web-frameworks"
version = "0.1.0"
requires-python = ">=3.14"
dependencies = [
"django==6.0.5",
"django==6.0.7",
"fast-depends==3.0.8",
"fastapi[standard]==0.136.3",
"fastapi[standard]==0.139.0",
"flask==3.1.3",
"gunicorn==26.0.0",
"psycopg[binary]==3.3.4",
"pydantic-settings==2.14.1",
"sqlalchemy==2.0.50",
"pydantic-settings==2.14.2",
"sqlalchemy==2.0.51",
]

[dependency-groups]
dev = [
"django-stubs==6.0.5",
"mypy==2.1.0",
"pytest>=9.0.3",
"ruff==0.15.14",
"ty==0.0.40",
"django-stubs==6.0.6",
"mypy==2.2.0",
"pytest==9.1.1",
"ruff==0.15.21",
"ty==0.0.58",
]

[tool.ruff]
Expand Down Expand Up @@ -48,10 +48,7 @@ output-format = "concise"
[tool.mypy]
strict = true
disable_error_code = [
# Decorators on top of @property are not supported,
# but pydantic use it
"prop-decorator",
"unused-ignore",
]
plugins = ['pydantic.mypy']

Expand Down
Loading