chore: fix formatting issues

New `black` is complaining about reformatting some of our files,
let's make it happy:

    $ black . --check
    would reformat rust-vmm-ci/test_run.py
    would reformat rust-vmm-ci/integration_tests/conftest.py
    would reformat rust-vmm-ci/.buildkite/autogenerate_pipeline.py

    Oh no! 💥 💔 💥
    3 files would be reformatted, 5 files would be left unchanged.

Signed-off-by: Stefano Garzarella <sgarzare@redhat.com>
This commit is contained in:
Stefano Garzarella
2026-02-25 10:46:36 +01:00
committed by Patrick Roy
parent 65d339dde5
commit 94e2492e36
3 changed files with 4 additions and 9 deletions

View File

@@ -370,8 +370,7 @@ def generate_pipeline(config_file, platform_allowlist):
if __name__ == "__main__":
help_text = dedent(
"""
help_text = dedent("""
This script supports overriding the following configurations through
environment variables:
- X86_LINUX_AGENT_TAGS: overrides the tags by which the x86_64 linux
@@ -383,8 +382,7 @@ if __name__ == "__main__":
https://github.com/buildkite-plugins/docker-buildkite-plugin.
- TESTS_TO_SKIP: specifies a list of tests to be skipped.
- TIMEOUTS_MIN: overrides the timeout value for specific tests.
"""
)
""")
parser = ArgumentParser(description=help_text, formatter_class=RawTextHelpFormatter)
# By default we're generating the rust-vmm-ci pipeline with the test
# configuration committed to this repository.

View File

@@ -2,7 +2,6 @@
# SPDX-License-Identifier: Apache-2.0
import pytest
PROFILE_CI = "ci"
PROFILE_DEVEL = "devel"

View File

@@ -33,16 +33,14 @@ def retrieve_test_list(config_file=f"{PARENT_DIR}/.buildkite/test_description.js
if __name__ == "__main__":
help_text = dedent(
"""
help_text = dedent("""
This script allows running all the tests at once on the local machine.
The tests "test_benchmark.py" and "test_commit_format.py" work properly
on the local machine only when the environment variables REMOTE and
BASE_BRANCH are set. Otherwise the default values are "origin" for the
remote name of the upstream repository and "main" for the name of the
base branch, and these tests may not work as expected.
"""
)
""")
parser = ArgumentParser(description=help_text, formatter_class=RawTextHelpFormatter)
parser.parse_args()