
This commit introduces a new Zuul job, stx-distcloud-tox-black, and a corresponding black_check tox environment to ensure Python files are formatted with Black. Initially, the black_check environment will check the formatting of specified modules[1]. As modules are progressively formatted, the configuration will be updated to enforce Black formatting on these modules. During this transition, the job will only fail for modules that have been updated to comply with Black formatting. Eventually, the environment will be configured to check the entire project, ensuring consistent code style across all files. 1: Check `modules` in run_black.py script. Note: Once all modules are formatted, run_black.py will be deleted. Test Plan: PASS - Success in stx-distcloud-tox-black Story: 2011149 Task: 50432 Change-Id: I8a8044d44b85679cf5e71106784c192ef343f5b6 Signed-off-by: Hugo Brito <hugo.brito@windriver.com>
Description
StarlingX Distributed Cloud
Languages
Python
95.6%
Shell
4.3%
Makefile
0.1%