Draft: Enforce typing
Loading
Add mypy to build process to validate if type hints are respected.
Few things that are still not done:
get_user_model()
is not discovered properly def image_img(self) -> str:
return '<img class="flag-icon" src="%s" />' % self.image.url
image_img.short_description = 'Flag icon' # type: ignore