Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add type hints to django_admin_inline_paginator module #16

Merged
merged 3 commits into from
Dec 26, 2021

Conversation

aitorres
Copy link
Contributor

Issue: closes #14

What I did

  • Added type hints and assertions required to make the modules pass mypy type checks
  • Removed unused tests and non-existing import on a test case
  • Removed redundant string interpolations

How to test

Install and run mypy django_admin_inline_paginator, it should pass without reporting any type errors.

@shinneider shinneider merged commit 9f6a132 into shinneider:master Dec 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add mypy stub files for admin.py
2 participants