I’m writing a chess program in Python as a learning exercising. Not surprisingly,
mypy, the static type checker, complained about my code with yet another incomprehensible error message. Here’s a quick-and-dirty fix for the incompatible type assignment error.
Read my essay and follow me on Medium. Your support is greatly appreciated.