The goal of this PR is to improve the typing of the Orthos 2 codebase with mypy/pyright. Since Django Upstream sees the Python typing landscape as too volatile we are utilizing https://github.com/typeddjango/django-stubs for this.
We cannot use django-stubs-ext since this requires hotpatching of certain classes at runtime, since the django-stubs projects aren't packaged in openSUSE and SLES we cannot use it.
The goal of this PR is to improve the typing of the Orthos 2 codebase with mypy/pyright. Since Django Upstream sees the Python typing landscape as too volatile we are utilizing https://github.com/typeddjango/django-stubs for this.
We cannot use django-stubs-ext since this requires hotpatching of certain classes at runtime, since the django-stubs projects aren't packaged in openSUSE and SLES we cannot use it.