-
Notifications
You must be signed in to change notification settings - Fork 82
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
typing support #107
Comments
I've been ignoring these because type support for that scenario has been bad. There's a lot of discussion around this at python/mypy#708
I haven't put a lot of effort into this yet because I've been too lazy to break Python 3.4 support ( |
Thank you for answer. Can I somehow help? |
hmm, I can do a 3.0 release that drops Python 3.4, then we can start adding type hints. I can probably get that done this week. |
BREAKING CHANGE: drop Python 3.4 support in preparation for adding type hints and Django 3.1 support Prereq for #107
python/mypy#708 was closed, so this is worth looking at again The PR has some examples: https://github.com/python/mypy/pull/13400/files |
… the admin method (#141) Add an `@action` decorator that behave's like Django's `admin.action` decorator[^1] to clean up customizing object actions. [closes #115](#115) Also relates to #107 [^1]: https://docs.djangoproject.com/en/stable/ref/contrib/admin/actions/#django.contrib.admin.action
Hi!
How to make library friends with mypy?
For example if I use code from readme
I catch this error from mypy:
For example for django admin
short_description
and etc. I use django-admin-display. How do you look at adding something like this to your project?The text was updated successfully, but these errors were encountered: