Commit Graph

2 Commits

Author SHA1 Message Date
Martí Bolívar d57aa43d6e tests: ensure we're run via tox
Otherwise, setup functions that set git config variables like
user.name are potentially dangerous to run.

Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>
2021-02-10 09:06:29 -08:00
Martí Bolívar 05106d4f9b add __main__.py
This allows west to be executed as a module with "python3 -m west".

This can be useful if it's desired to execute west under a particular
Python interpreter, e.g. the same one that's used elsewhere in a
larger system.

Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>
2020-08-19 08:59:43 -07:00