Skip to content

Commit

Permalink
Apply black on plugins/modules/cloudfront_distribution.py
Browse files Browse the repository at this point in the history
Signed-off-by: Alina Buzachis <[email protected]>
  • Loading branch information
alinabuzachis committed Jun 13, 2023
1 parent 1f25bf1 commit 45ac79b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 18 deletions.
17 changes: 0 additions & 17 deletions .github/workflows/changelog.yml

This file was deleted.

2 changes: 2 additions & 0 deletions changelogs/fragments/20230613-black.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
trivial:
- "Format using black."
4 changes: 3 additions & 1 deletion plugins/modules/cloudfront_distribution.py
Original file line number Diff line number Diff line change
Expand Up @@ -2218,7 +2218,9 @@ def validate_common_distribution_parameters(
config["aliases"] = ansible_list_to_cloudfront_list(aliases)
if logging is not None:
config["logging"] = self.validate_logging(logging)
config["enabled"] = enabled if enabled is not None else config.get("enabled", self.__default_distribution_enabled)
config["enabled"] = (
enabled if enabled is not None else config.get("enabled", self.__default_distribution_enabled)
)
if price_class is not None:
self.validate_attribute_with_allowed_values(price_class, "price_class", self.__valid_price_classes)
config["price_class"] = price_class
Expand Down

0 comments on commit 45ac79b

Please sign in to comment.