Merge branch 'feat/idf_tools_py_remove_global_vars' into 'master'

feat(idf_tools): Switch from global variables to singleton store

Closes IDF-4918

See merge request espressif/esp-idf!28907
pull/13294/head
Roland Dobai 2024-02-21 20:32:09 +08:00
commit d25980cac7
2 zmienionych plików z 255 dodań i 234 usunięć

Plik diff jest za duży Load Diff

Wyświetl plik

@ -37,8 +37,8 @@ CONSTR = 'Constraint file: {}'.format(os.path.join(TOOLS_DIR, 'espidf.constraint
# Set default global paths for idf_tools. If some test needs to
# use functions from idf_tools with custom paths, it should
# set it in setUp() and change them back to defaults in tearDown().
idf_tools.global_idf_path = IDF_PATH
idf_tools.global_idf_tools_path = TOOLS_DIR
idf_tools.g.idf_path = IDF_PATH
idf_tools.g.idf_tools_path = TOOLS_DIR
def setUpModule(): # type: () -> None