This change adds an environment module to pw_cli which defines all of
the environment variables used by Pigweed.
A new variable named PW_USE_COLOR added, forcing the use of log colors
even if not printing to a TTY. This is set by the watch command for its
subprocesses.
The check for the PW_SUBPROCESS variable in logging is updated to use
the environment module.
Change-Id: I84007691f3ae9bb262c6bf6471afa43db831268f
This change adds a Python module which implements an environment
variable parser that allows defining and typing environment variables
for a Python program.
Change-Id: Icda61c8dabcf4e4bc6902707f6ebed9c50d31d71
This change adds a pw_protobuf module containing a lightweight protobuf
wire format encoder. The encoder comes with a Python script that plugs
into protoc to generate C++ classes from Protobuf files that wrap its
functionality.
Bug: 20
Change-Id: I867655ab64c2f6ddd2a731054b1fbe7ccc97ba70
Generated a default pylintrc with pylint's --generate-rcfile option and
made a few modifications:
* Set jobs to 0 (sets to number of cores).
* Disable fixme and subprocess-run-check.
* Always expect LF.
* Adjust min/max counts to avoid warnings.
Change-Id: I0a57457e39cce9191172aaa1dc694d5fb4474f0b