-
Notifications
You must be signed in to change notification settings - Fork 123
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
Added initial mypy type checking #213
Conversation
This is very minimalistic without any type annotations, but in general this is *already as it is* super helpful for uses. Signed-off-by: Sebastian Wagner <sebastian@inter.link>
import warnings | ||
from collections import Counter, defaultdict | ||
from itertools import chain |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can't explain why this change happened. Any ideas?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you have isort automatically running on save?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
isort is actually always called with tox as it is configured. That's probably why.
Thanks, that's great 👍 . I'll try to add some typings. |
I added some typings in 05cfa2c if you want to take a look at them and tell me what you think about them. |
There are some issue with Python 3.6 I'll check later on https://github.com/makinacorpus/django-safedelete/runs/7861846714?check_suite_focus=true |
added a few comments. But 05cfa2c looks great! |
This is very minimalistic without any type annotations,
but in general this is already as it is super helpful for uses.
Signed-off-by: Sebastian Wagner sebastian@inter.link