ethereum / eth-tester

Tool suite for testing ethereum applications.
MIT License
357 stars 137 forks source link

Add typing #247

Open antazoey opened 1 year ago

antazoey commented 1 year ago

What was wrong?

Include typing so downstream libraries can use without having to place type: ignore statements on the imports.

e.g.

from eth_tester.exceptions import TransactionFailed  # type: ignore

How can it be fixed?

Including type declarations everywhere + a py.typed file in the core source directory.

DavidRomanovizc commented 8 months ago

@pacrob, over the past year, there has been no activity here. Could you confirm the relevance/necessity of this issue, and if so, I am prepared to attempt to do it?

pacrob commented 8 months ago

@DavidRomanovizc Typing is still desired here. I'll get a pr in soon to start the typing and make it easier to add typing file by file, and will make note of it in this issue.