Skip to content
Commit 8e4de05b authored by Ryan Roberts's avatar Ryan Roberts
Browse files

ci: Automatically run black on every code commit



black is a tool to reformat Python source code into a standard format.
On the CI we will use it in --check mode so that it complains if it
spots any incorrectly formatted code. Let's enforce this for every
source code commit.

For this to work well, let's also automatically build a new version of
the ci container image for use in the pipeline. If the pipeline succeeds
and is running on main branch, then promote the built ci image to
"latest".

Signed-off-by: Ryan Roberts's avatarRyan Roberts <ryan.roberts@arm.com>
parent 27e84beb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment