Commit Graph

8 Commits (master)

Author SHA1 Message Date
Taneli Hukkinen 2f3c5b2ee0 Disable incremental mode of mypy 2020-02-06 13:21:36 +01:00
Chih Cheng Liang 82dcce214a
Remove kademlia module (#377)
* Remove kademlia and routing/kademlia

* cleanup

* Fix routed_host test

* lint mypy

* fix doc

* remove set_up_nodes_by_transport_and_disc_opt and fix typing
2019-12-06 14:14:33 +08:00
Jason Carver d1b5a56ccf Match linting rules after merging in template 2019-11-26 13:33:08 -08:00
Jason Carver 27da312285 Splice in project template
I tried to merge it so that future updates from the template will be
much easier.

The template is hosted at:
https://github.com/ethereum/ethereum-python-project-template
2019-11-26 13:30:41 -08:00
Taneli Hukkinen cab0e0c1c4 Add warn_unreachable=True mypy config 2019-11-04 21:05:12 +01:00
Chih Cheng Liang 28f6de37ee
Fix the rest of the typing hints (#232)
* ignore kad

* fix swarm, and minor

* fix init and swarm

* ignore pb

* enable mypy

* fix basic host

* fix tcp

* fix mplex

* add typing for pb

* skip format pyi

* [mypy] no need to ignore pb now

* add typing to chat
2019-08-11 16:47:54 +08:00
mhchia 9497c3180f
Add tox
- Put extras_require to setup.py
- Add mypy
2019-07-24 15:54:30 +08:00
Christoph Burgdorf 720b2cf3d2 Add mypy support 2019-04-26 18:22:24 +02:00