Commit Graph

  • cf69f7e800 Rename to set_topic_validator and add test NIC619 2019-08-04 11:03:29 +08:00
  • b1f4813195 Add add/remove topic validator functions NIC619 2019-08-04 10:44:12 +08:00
  • 3973f1d13c Add pubsub.topic_validators NIC619 2019-08-03 18:44:40 +08:00
  • ccf4b62976 Merge pull request #203 from ChihChengLiang/tranport-typing NIC Lin 2019-08-05 17:19:11 +08:00
  • cb3a59e0ac ttl as int Chih Cheng Liang 2019-08-05 17:02:18 +08:00
  • 63c733c3f5 PR feedback Chih Cheng Liang 2019-08-05 16:58:34 +08:00
  • ccfb6eb35f remove constructor of TCP Chih Cheng Liang 2019-08-05 16:56:56 +08:00
  • e763f57930 run isort Chih Cheng Liang 2019-08-05 11:22:44 +08:00
  • 7a04ebb51f run black Chih Cheng Liang 2019-08-05 11:21:20 +08:00
  • 9e0a806218 move stream and connection interfaces to abc Chih Cheng Liang 2019-08-05 11:17:38 +08:00
  • c804f5ad19 minor Chih Cheng Liang 2019-08-05 10:47:59 +08:00
  • 29091266fc add still needed TYPE_CHECK Chih Cheng Liang 2019-08-05 10:35:56 +08:00
  • 87ef2e4618 remove if TYPE_CHECKING as much as possible Chih Cheng Liang 2019-08-05 10:20:30 +08:00
  • 4c9a930f84 stream_muxer done Chih Cheng Liang 2019-08-02 18:28:04 +08:00
  • dadac423f2 typed muxed_connection_interface.py Chih Cheng Liang 2019-08-02 18:03:34 +08:00
  • b64ed9fd6f typed mplex.utils Chih Cheng Liang 2019-08-02 17:57:30 +08:00
  • 239a5c88fb add typing to mplex Chih Cheng Liang 2019-08-02 17:53:51 +08:00
  • 36b7e8ded9 Refactor HeaderTags Chih Cheng Liang 2019-08-02 17:14:43 +08:00
  • 29fbb9e40a add typing to transport Chih Cheng Liang 2019-08-02 16:32:33 +08:00
  • a20c172480 update isort line length Alex Stokes 2019-08-03 11:31:06 -07:00
  • 7477b29508 run black w/ extended line length Alex Stokes 2019-08-03 11:25:25 -07:00
  • 905dfa9a8d Remove dependence on make in tox CI run Alex Stokes 2019-08-03 11:22:55 -07:00
  • 251422a234 Match black line length to flake8 line length Alex Stokes 2019-08-03 11:22:33 -07:00
  • cb301fcc51 Opt-out of linting on the special cases we have, given new ignore rules Alex Stokes 2019-08-03 12:45:55 -07:00
  • 03b1304fe7 Remove rules we want to enforce or are unnecessary with our style Alex Stokes 2019-08-03 12:41:52 -07:00
  • a8acbb72c2 Merge pull request #223 from ralexstokes/remove-grpc Alex Stokes 2019-08-03 12:28:38 -07:00
  • 986da458e9 Directly use protobuf dep Alex Stokes 2019-08-03 11:35:24 -07:00
  • 69ec86c871 Remove grpc dependency Alex Stokes 2019-08-03 11:16:30 -07:00
  • 910c3fa6f1 Merge pull request #221 from mhchia/feature/add-flake8-and-change-cfg Alex Stokes 2019-08-03 11:13:58 -07:00
  • cf3904a56a Merge pull request #207 from ralexstokes/update-chat-example Alex Stokes 2019-08-03 09:49:51 -07:00
  • 0b11e32000 Remove the TODO flag for flake8 mhchia 2019-08-04 00:32:32 +08:00
  • 1cc7e38846 Add flake8 to lint deps mhchia 2019-08-04 00:27:02 +08:00
  • 0a5b4a88ca Fix flake8 for the existing code mhchia 2019-08-04 00:18:30 +08:00
  • 727342a767 Move flake8 settings to tox.ini mhchia 2019-08-04 00:11:49 +08:00
  • f20b78c93f Replace pylint with flake8 Arun Babu Neelicattu 2019-06-28 17:00:28 +02:00
  • 4fef80595c Skip pb files in linters mhchia 2019-08-03 18:02:27 +08:00
  • c8005c8113 Run isort in repo Alex Stokes 2019-08-02 22:36:19 -07:00
  • a92d933ed2 Add isort to CI check Alex Stokes 2019-08-02 22:36:11 -07:00
  • d78e6dbf04 Add black-compatible isort config Alex Stokes 2019-08-02 22:29:21 -07:00
  • 201850397a Add isort as a lint dep Alex Stokes 2019-08-02 22:29:48 -07:00
  • 21e013e753 Merge pull request #214 from ralexstokes/remove-third-party-key-in-id Alex Stokes 2019-08-02 22:50:53 -07:00
  • 6090d2ca3b Clean up old comments, print stmts, formatting, etc. Alex Stokes 2019-08-02 21:54:28 -07:00
  • bd8d45fbc1 Refactor ID to not use third-party type for cryptographic keys Alex Stokes 2019-08-02 16:03:40 -07:00
  • cff5fe0d5f Add pytest config Alex Stokes 2019-08-02 15:58:39 -07:00
  • 28e1a03dc4 remove empty yamux impl Alex Stokes 2019-08-02 15:03:59 -07:00
  • d47cddee24 Clean up extraneous files in tests Alex Stokes 2019-08-02 14:54:40 -07:00
  • 224b54ad93 Add basic flake8 config Alex Stokes 2019-08-02 14:38:03 -07:00
  • 2dfd7794b6 add note about protoc version and add Make command to generate protobuf files Alex Stokes 2019-08-02 12:20:48 -07:00
  • e55d9f2e60 restore generated protobuf files Alex Stokes 2019-08-02 12:09:27 -07:00
  • 88a3a3159e Add clarifying comment about InsecureTransport Alex Stokes 2019-08-02 12:07:35 -07:00
  • b2367e35d8 Merge pull request #208 from ralexstokes/disable-mypy-ci Alex Stokes 2019-08-02 12:01:47 -07:00
  • 7b7c8ad30d run black over dangling files Alex Stokes 2019-08-02 11:44:11 -07:00
  • da9d5cadec Disables mypy in CI Alex Stokes 2019-08-02 10:52:53 -07:00
  • 612330d318 Merge pull request #205 from mhchia/fix/remove-pylint-leftover Alex Stokes 2019-08-02 10:50:44 -07:00
  • c8d175b373 Add a localhost option and fix the printed example to run another peer Alex Stokes 2019-08-02 10:22:15 -07:00
  • 430b4e2f89 Bail as soon as we know there is a port error Alex Stokes 2019-08-02 10:21:41 -07:00
  • 2e94fcf56c Remove pylint:disable mhchia 2019-08-02 23:19:36 +08:00
  • 06a9511ab4 Remove .pylintrc mhchia 2019-08-02 17:31:29 +08:00
  • 7a0fa7dd37 Merge pull request #196 from NIC619/fix_peer_id NIC Lin 2019-08-02 18:03:56 +08:00
  • 568454534f Remove unused ID type conversions NIC619 2019-08-02 16:48:38 +08:00
  • ee290b2ac2 Fix missing asterisk NIC619 2019-08-02 16:48:32 +08:00
  • 3a4b592a5a Fix missing asterisk NIC619 2019-08-02 15:06:39 +08:00
  • 38423cc2a4 Merge pull request #200 from ChihChengLiang/add-typing-security Kevin Mai-Husan Chia 2019-08-02 14:57:24 +08:00
  • 0173b5e0d9 Add ID.to_base58() and comparison against str type NIC619 2019-08-01 21:48:30 +08:00
  • 924e965537 Change argument name of Network.listen and blakc format NIC619 2019-08-01 13:25:20 +08:00
  • cd684aad9e Update peer_id to type peer.ID in pubsub folder NIC619 2019-08-01 12:05:28 +08:00
  • 9562cb2a46 Rename: KadPeerInfo.peer_id to KadPeerInfo.peer_id_bytes NIC619 2019-07-31 23:50:53 +08:00
  • f00e80bc25 Fix wrong peer id type used in KadPeerInfo NIC619 2019-07-31 21:35:50 +08:00
  • b928bdb356 Convert from base58/pubkey/privkey to class method NIC619 2019-07-31 19:31:58 +08:00
  • 80481252ca Refactor ID to take in type bytes only NIC619 2019-07-31 19:26:13 +08:00
  • 10a8347c6a PR feedback Chih Cheng Liang 2019-08-02 14:12:59 +08:00
  • f6e456c96e Merge pull request #198 from mhchia/fix/clean-up-tests-with-fixture Kevin Mai-Husan Chia 2019-08-01 22:08:03 +08:00
  • 716c60ca6d Reflect PR feedback mhchia 2019-08-01 21:38:14 +08:00
  • e731f77f2d minor Chih Cheng Liang 2019-08-01 19:13:06 +08:00
  • a86f010c95 add typing to security Chih Cheng Liang 2019-08-01 19:12:11 +08:00
  • 030abcc959 add vscode Chih Cheng Liang 2019-08-01 17:55:15 +08:00
  • 33d233f5df Add missing comma mhchia 2019-08-01 13:31:02 +08:00
  • 4eb846be7c Remove the assertions for connect mhchia 2019-08-01 00:36:52 +08:00
  • c72dfe1dd3 Use factories and fixtures in pubsub tests mhchia 2019-08-01 00:09:09 +08:00
  • 9181cf95f0 Merge pull request #199 from ralexstokes/add-black-to-repo Kevin Mai-Husan Chia 2019-08-01 10:53:44 +08:00
  • 51cc710dc0 remove pylint Alex Stokes 2019-07-31 15:12:34 -07:00
  • 0ae9840928 Run black over repo Alex Stokes 2019-07-31 15:00:12 -07:00
  • a2133d8c7c Add black check to CI Alex Stokes 2019-07-31 14:53:39 -07:00
  • 936369aa5e Add black as a lint dependency Alex Stokes 2019-07-31 14:53:28 -07:00
  • 1727ba48d9 Merge pull request #190 from mhchia/feature/pubsub-test Kevin Mai-Husan Chia 2019-07-31 16:40:38 +08:00
  • ce369d47e9 Refine exception message mhchia 2019-07-31 16:23:07 +08:00
  • c0e253a524 Update tests/pubsub/conftest.py Kevin Mai-Husan Chia 2019-07-31 16:07:48 +08:00
  • 3bb63612a9 Update tests/pubsub/conftest.py Kevin Mai-Husan Chia 2019-07-31 16:07:04 +08:00
  • 9683d5e8ac Add tests for Pubsub mhchia 2019-07-30 13:33:48 +08:00
  • 3a42d72cd9 Fix a minor bug for pb optional field mhchia 2019-07-29 22:50:02 +08:00
  • 037b95252d Add tests for Pubsub mhchia 2019-07-29 22:49:48 +08:00
  • 550289a439 Combine test_subscription.py to test_pubsub.py mhchia 2019-07-28 18:07:48 +08:00
  • 96563c0d84 Add fixtures for pubsub and router mhchia 2019-07-27 18:41:16 +08:00
  • 21e97407ef Merge pull request #192 from NIC619/add_type_hint NIC Lin 2019-07-31 11:13:37 +08:00
  • 5e215901c0 Apply PR feedback NIC619 2019-07-30 23:41:28 +08:00
  • 76de01a17d Add duplicate-code and cyclic-import to pylintrc NIC619 2019-07-30 18:01:01 +08:00
  • 437b7665c4 Fix: type object not subscriptable NIC619 2019-07-30 18:00:30 +08:00
  • 60d6703964 Temporary disable pylint on tests folder NIC619 2019-07-30 17:41:46 +08:00
  • c4105688d1 Fix after rebase NIC619 2019-07-30 17:31:08 +08:00
  • e53727d301 Apply PR feedback: fix type hints NIC619 2019-07-30 15:31:02 +08:00