Closed LivInTheLookingGlass closed 7 years ago
Note that the failure is from mypy.
promise/promise.py:427: error: Argument 1 to "done" of "Promise" has incompatible type partial[None]; expected Callable[..., Any]
Looking at it, that's not a line that I changed, so I'm confused as to why it's failing now.
You said in my last pull requests that you liked my API changes. I figured that I would take those changes to their logical conclusion, and see what you thought of them.
Basically this ensures PEP8 format, moves state flags to an external class, and makes
state
andvalue
private.All tests have been updated to reflect this.