shinneider/django-admin-inline-paginator

Add `mypy` stub files for `admin.py`

aitorres opened this issue · 2 comments

Hi everyone! I am trying to use this package on a project that has mypy type checking as part of the CI/CD, and I had to deactivate type-checks on my admin models that use the TabularInlinePaginated class since there are no type stub files.

I think a .pyi stub file for admin.py can be constructed upon the stubs for Django's admin/options.pyi.

If it seems like a good idea, I can work on it and submit a PR with the stub!

@aitorres is a valid point!

You can work at PR, which I'll approve

@aitorres i generated a new version 0.3.0 with your type hint and ISSUE-18 (your PR, removing ugetext).

update your requirements please.