Skip to content

Commit

Permalink
fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
deusebio committed Jan 16, 2025
1 parent 3034ec4 commit 70cbd21
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions python/tests/integration/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,9 @@ def bundle(
[Path(file) for file in files]
if (files := request.config.getoption("--overlay"))
else (
[bundle.parent / "overlays" / "cos-integration.yaml.j2"] if cos_model else []
[bundle.parent / "overlays" / "cos-integration.yaml.j2"]
if cos_model
else []
)
)

Expand Down Expand Up @@ -235,7 +237,11 @@ def bundle_with_azure_storage(request, spark_version, cos_model) -> Bundle[Path]
overlays = (
[Path(file) for file in files]
if (files := request.config.getoption("--overlay"))
else ([bundle.parent / "overlays" / "cos-integration.yaml.j2"] if cos_model else [])
else (
[bundle.parent / "overlays" / "cos-integration.yaml.j2"]
if cos_model
else []
)
)

for file in overlays + [bundle]:
Expand Down

0 comments on commit 70cbd21

Please sign in to comment.