4 ms·
Python's new typing is so useful. mypy works most of the time. Sometimes misses some things. Running in --strict is a bother (no one is going to annotate __init
by cheez 6y ago
Python's new typing is so useful. mypy works most of the time. Sometimes misses some things. Running in --strict is a bother (no one is going to annotate __init__ returning None thanks...)
- ghostwriter 6y agoyou don't have to https://github.com/python/mypy/pull/5677 https://github.com/python/mypy/pull/5677
- cheez 6y agoWeird... Looks like you're right. Edit: aha, looks like this is the case under which it happens: class Testing123: def __init__(self): self.blah = whatever()