Viicos / django-autotyping

Automatically add type hints for Django powered applications.
https://viicos.github.io/django-autotyping/
MIT License
46 stars 0 forks source link

Roadmap #2

Closed Viicos closed 11 months ago

Viicos commented 1 year ago

DJA001

Moved to https://github.com/Viicos/django-autotyping/issues/21

Dynamic stubs

Only django-stubs would be supported.

Two options, either patch installed stubs, or make a local copy in a local stubs folder (e.g. ./typings/ for pyright, use mypy_path for mypy). If a local copy, should untouched files be symlinked?

Program could run in the background and watch for file changes. If stopped, should it reset the stubs to their original state? Also look at how django watches for changes, might hook it in there. In the end, might be a django app used in development: no need to setup django and patch sys.

Features:

^ This is now partially implemented, progress is tracked in separate issues.