Skip to content

Commit 47e7752

Browse files
chore(deps-dev): bump black from 24.10.0 to 25.1.0 in /requirements (aws#7853)
* chore(deps-dev): bump black from 24.10.0 to 25.1.0 in /requirements Bumps [black](https://github.com/psf/black) from 24.10.0 to 25.1.0. - [Release notes](https://github.com/psf/black/releases) - [Changelog](https://github.com/psf/black/blob/main/CHANGES.md) - [Commits](psf/black@24.10.0...25.1.0) --- updated-dependencies: - dependency-name: black dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> * Fix format with new version of Black --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Renato Valenzuela <[email protected]>
1 parent acac767 commit 47e7752

29 files changed

+45
-46
lines changed

requirements/dev.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,6 @@ filelock==3.18.0; python_version>="3.9"
4646
filelock==3.16.1; python_version<"3.9"
4747

4848
# formatter
49-
black==24.10.0; python_version>="3.9"
49+
black==25.1.0; python_version>="3.9"
5050
black==24.8.0; python_version<"3.9"
5151
psutil==7.0.0

samcli/hook_packages/terraform/copy_terraform_built_artifacts.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
"""
2-
Python script that prepares artifacts for SAM CLI to invoke.
2+
Python script that prepares artifacts for SAM CLI to invoke.
33
This script will work in both Linux/MacOS and Windows.
44
55
It consists of 5 steps:
66
1. create a temporary TF backend (create_backend_override)
77
2. run `terraform init -reconfigure`
88
3. run `terraform apply` on the SAM CLI Metadata resource
99
4. run `terraform out` to produce an output
10-
5. parse the output to locate the built artifact, and move it to the SAM CLI
10+
5. parse the output to locate the built artifact, and move it to the SAM CLI
1111
build artifact directory (find_and_copy_assets)
1212
1313
Note: This script intentionally does not use Python3 specific syntax.

samcli/hook_packages/terraform/hooks/prepare/types.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
""" Contains the data types used in the TF prepare hook"""
1+
"""Contains the data types used in the TF prepare hook"""
22

33
from abc import ABC
44
from copy import deepcopy

samcli/hook_packages/terraform/hooks/prepare/utilities.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
""" Maintain the utilities functions used in prepare hook """
1+
"""Maintain the utilities functions used in prepare hook"""
22

33
from samcli.hook_packages.terraform.hooks.prepare.constants import COMPILED_REGULAR_EXPRESSION
44

samcli/hook_packages/terraform/lib/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ def build_cfn_logical_id(tf_address: str) -> str:
5252

5353

5454
def _calculate_configuration_attribute_value_hash(
55-
configuration_attribute_value: Union[str, List[Union[ConstantValue, ResolvedReference]]]
55+
configuration_attribute_value: Union[str, List[Union[ConstantValue, ResolvedReference]]],
5656
) -> str:
5757
"""
5858
Create a hash value of an attribute value of the resource configuration.

samcli/lib/bootstrap/companion_stack/companion_stack_builder.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
"""
2-
Companion stack template builder
2+
Companion stack template builder
33
"""
44

55
from typing import Dict, cast

samcli/lib/bootstrap/companion_stack/companion_stack_manager.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
"""
2-
Companion stack manager
2+
Companion stack manager
33
"""
44

55
import logging

samcli/lib/bootstrap/companion_stack/data_types.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
"""
2-
Date type classes for companion stacks
2+
Date type classes for companion stacks
33
"""
44

55
import posixpath

samcli/lib/cookiecutter/exceptions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
""" Exceptions raised from the cookiecutter workflow"""
1+
"""Exceptions raised from the cookiecutter workflow"""
22

33

44
class CookiecutterErrorException(Exception):

samcli/lib/cookiecutter/interactive_flow_creator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
""" This module parses a json/yaml file that defines a flow of questions to fulfill the cookiecutter context"""
1+
"""This module parses a json/yaml file that defines a flow of questions to fulfill the cookiecutter context"""
22

33
from typing import Dict, Optional, Tuple
44

0 commit comments

Comments
 (0)