ethereum / eth-abi

Ethereum ABI utilities for python
MIT License
247 stars 269 forks source link

Update mypy and add python 3.8 support #155

Closed kclowes closed 2 years ago

kclowes commented 2 years ago

What was wrong?

Going through and updating support for libraries. Old mypy doesn't work with python 3.8 (fails with error: AttributeError: 'FlakesChecker' object has no attribute 'CONSTANT').

How was it fixed?

Updated mypy to the latest version and added tests for python 3.8. Also had to update flake8 as well.

To-Do

Cute Animal Picture

put a cute animal picture link inside the parentheses

kclowes commented 2 years ago

I'll add 3.9 in another PR. I've been hesitant to drop 3.6, because I'm afraid it might kick off another dependency hell situation, but might as well do that while we're at it. I'll do that in another PR too. Thanks!