Add `mypy` stub files for `admin.py`
aitorres opened this issue · 2 comments
aitorres commented
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!
shinneider commented
@aitorres is a valid point!
You can work at PR, which I'll approve
shinneider commented