Commit Graph
8 Commits
Author SHA1 Message Date
Arun Babu NeelicattuandBouke Versteegh 0ba0692dec Handle mutable default arguments cleanly
When generating code, ensure that default list/dict arguments are
initialised in local scope if unspecified or `None`.
2020-07-11 22:33:44 +02:00
Arun Babu NeelicattuandBouke Versteegh 42e197f985 Ensure we clean up egg-info directories 2020-07-11 19:51:01 +02:00
Arun Babu NeelicattuandBouke Versteegh 459d12b24d Move betterproto → src/betterproto
This change avoids some nasty import issues and also ensures that the
right code is tested and arbitrary code is not included when packaging.
2020-07-11 19:51:01 +02:00
Arun Babu NeelicattuandBouke Versteegh cebf9176a3 Move betterproto/tests → tests 2020-07-11 19:51:01 +02:00
Arun Babu NeelicattuandBouke Versteegh 03211604bc Replace dependency on protoc with grpcio-tools
This change removes the dependency on platform provided protobuf tools
in favour of `grpcio-tools` dependency. This makes both development and
compiler use independent from platform dependencies.
2020-07-10 13:16:40 +02:00
Arun Babu Neelicattu 0338fcba29 Ignore commonly used .venv directory 2020-07-07 19:23:38 +02:00
Arun Babu Neelicattu 0f3ad25770 Minor non-functional changes
- fix few typos
- remove unused imports
- fix minor code-quality issues
- replace `grpclib._protocols` with `grpclib._typing`
- fix boolean and None assertions in test cases
2020-07-07 19:23:38 +02:00
Arun Babu Neelicattu a8d8159d27 Add missing async/await keywords when casing 2020-07-07 13:15:46 +02:00