Skip to content

Commit

Permalink
fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
brettlangdon committed Feb 12, 2025
1 parent e12e971 commit 93ea593
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions scripts/gen_gitlab_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,8 @@ def gen_build_base_venvs() -> None:
native_hash = os.getenv("DD_NATIVE_SOURCES_HASH", ci_commit_sha)

with TESTS_GEN.open("a") as f:
f.write(f"""
f.write(
f"""
build_base_venvs:
extends: .testrunner
stage: riot
Expand Down Expand Up @@ -205,7 +206,8 @@ def gen_build_base_venvs() -> None:
echo "Fixing ddtrace versions"
pip install "setuptools_scm[toml]>=4"
ddtrace_version=$(python -m setuptools_scm --force-write-version-files)
find .riot/ -path '*/ddtrace*.dist-info/METADATA' | xargs sed -E -i "s/^Version:.*$/Version: ${{ddtrace_version}}/"
find .riot/ -path '*/ddtrace*.dist-info/METADATA' | \
xargs sed -E -i "s/^Version:.*$/Version: ${{ddtrace_version}}/"
echo "Using version: ${{ddtrace_version}}"
fi
cache:
Expand All @@ -229,7 +231,8 @@ def gen_build_base_venvs() -> None:
- ddtrace/**/*.so*
- ddtrace/internal/datadog/profiling/crashtracker/crashtracker_exe*
- ddtrace/internal/datadog/profiling/test/test_*
""")
"""
)


# -----------------------------------------------------------------------------
Expand Down

0 comments on commit 93ea593

Please sign in to comment.