94483714a3
run lint and fix errors, except mypy
2024-02-19 16:05:58 -07:00
6e01a7da31
PR feedback: async with host.run()
2020-01-26 16:44:42 +08:00
566e4c080d
Fix lint
2019-11-25 17:32:53 +08:00
e49de15227
Add get_private_key to Host
2019-11-25 16:57:00 +08:00
0ca3e83540
lintroll
2019-11-06 11:41:28 -08:00
32c55bcaf2
hosts track their public key
2019-11-06 11:41:27 -08:00
bafdd8512d
Enforce pre-summary newline in docstrings
2019-10-24 20:10:45 +02:00
eef505f2d9
Add automatic docstring formatter and apply
2019-10-24 08:41:10 +02:00
786a03544c
Add some loggings to swarm and cosmetic updates
2019-09-14 21:47:49 +08:00
c61a06706a
Refactor interop tests and factories
...
- Add `close` and `disconnect` in `Host`
- Add `close` and `close_peer` in `Network`
- Change `IListener.close` to async, to await for server's closing
- Add factories for security transports, and modify `HostFactory`
2019-08-29 21:38:06 +08:00
3debd2c808
Run black and isort w/ the new config
2019-08-13 14:36:42 -07:00
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
c536aa3e07
flake8
2019-08-08 16:09:02 +08:00
5903012e0e
add typing to protocol_muxer
2019-08-08 16:09:02 +08:00
7477b29508
run black w/ extended line length
2019-08-04 12:37:41 +08:00
c8005c8113
Run isort in repo
2019-08-03 17:50:14 +08:00
0ae9840928
Run black over repo
2019-07-31 15:00:12 -07:00
c4105688d1
Fix after rebase
2019-07-30 17:31:08 +08:00
e53727d301
Apply PR feedback: fix type hints
2019-07-30 16:28:25 +08:00
2d4e23cfe2
Fix cyclic import and lint
2019-07-30 16:28:05 +08:00
a4a0d79f6d
Improve import layout
2019-07-30 16:27:29 +08:00
d716e90e17
Fix on type hints
2019-07-30 16:25:33 +08:00
b695b0e1ec
Add type hint to host folder
2019-07-30 16:24:34 +08:00
ce6ddb27a9
Migrate to new project structure.
2019-01-09 21:38:56 +03:00