Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pw_ide: .activate can be imported outside of env
This module couldn't be imported outside of Pigweed/an activated Pigweed environment without raising an exception. However, the module needs to be imported by Sphinx during the docs build since it's used to generate the `pw_ide` API docs. This wasn't a problem for our own Sphinx build, but it was a problem for other tools that do a Sphinx build outside of our own (e.g. the esbonio LSP). Anyway, now you can import this file without exceptions. Exceptions will only be raised if you try to execute specific functionality that requires the Pigweed environment. Change-Id: I06fcf39f770176710df0bbc1a739077fca159835 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/129112 Commit-Queue: Chad Norvell <chadnorvell@google.com> Reviewed-by: Anthony DiGirolamo <tonymd@google.com>
- Loading branch information