-
Notifications
You must be signed in to change notification settings - Fork 18
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
fix errors reported by mypy #64
Comments
I have no experience with mypy. So I'm not sure of the impact of trying to conform is, but I'll look into it. |
Yeah, I tested it out, but at a quick glance none of the errors were valid. Seems like a bad move. For example, all models that had a |
for example: I think typing.Optional should be used: (and also document on what situation followers is None?) |
I created an issue of the model types. They need some work. But here are some more points of concern, just a few of the first ones, and I can't see the reason to fix them. That's just a whole lot of unnecessary type hints.
|
Maybe use "# type: ignore" then? |
On every such line? I'm sorry, it's a no. I'm all for using a static checker to find potential flaws but the code itself shouldn't bend to a linter's will. Maybe that's just me, but what a mess. |
Found 75 errors in 23 files (checked 43 source files)
The text was updated successfully, but these errors were encountered: