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

`DJAS002`: Set fields as not required, proper type annotations #12

Closed Viicos closed 9 months ago

Viicos commented 11 months ago

Follow up on https://github.com/Viicos/django-autotyping/issues/10:

Viicos commented 10 months ago

It seems that different logic is involved between __init__ and create, so:

Edit: actually logic doesn't differ that much. This is still refactored as described so that separated rules can be used.