Skip to content

Commit

Permalink
chore:black
Browse files Browse the repository at this point in the history
Signed-off-by: ThibaultFy <[email protected]>
  • Loading branch information
ThibaultFy committed Feb 1, 2024
1 parent b641741 commit 307bb0c
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 5 deletions.
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Packaging settings."""

import os
from codecs import open

Expand Down
16 changes: 11 additions & 5 deletions tests/data_factory.py
Original file line number Diff line number Diff line change
Expand Up @@ -400,11 +400,17 @@ def create_function(
(
BAD_ENTRYPOINT_DOCKERFILE
if dockerfile_type == "BAD_ENTRYPOINT"
else NO_ENTRYPOINT_DOCKERFILE
if dockerfile_type == "NO_ENTRYPOINT"
else NO_FUNCTION_NAME_DOCKERFILE
if dockerfile_type == "NO_FUNCTION_NAME"
else DEFAULT_FUNCTION_DOCKERFILE.format(function_name=DEFAULT_FUNCTION_FUNCTION_NAME[category])
else (
NO_ENTRYPOINT_DOCKERFILE
if dockerfile_type == "NO_ENTRYPOINT"
else (
NO_FUNCTION_NAME_DOCKERFILE
if dockerfile_type == "NO_FUNCTION_NAME"
else DEFAULT_FUNCTION_DOCKERFILE.format(
function_name=DEFAULT_FUNCTION_FUNCTION_NAME[category]
)
)
)
),
),
)
Expand Down

0 comments on commit 307bb0c

Please sign in to comment.