Skip to content

Commit

Permalink
chore(deps-dev): bump black from 22.6.0 to 23.7.0 in /requirements (#…
Browse files Browse the repository at this point in the history
…5833)

* chore(deps-dev): bump black from 22.6.0 to 23.7.0 in /requirements

Bumps [black](https://github.com/psf/black) from 22.6.0 to 23.7.0.
- [Release notes](https://github.com/psf/black/releases)
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md)
- [Commits](psf/black@22.6.0...23.7.0)

---
updated-dependencies:
- dependency-name: black
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* Run make black and pin dependency for python3.7

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Haresh Nasit <hnnasit@amazon.com>
  • Loading branch information
dependabot[bot] and hnnasit committed Sep 5, 2023
1 parent 7fe03f0 commit 09f5fdc
Show file tree
Hide file tree
Showing 7 changed files with 3 additions and 8 deletions.
3 changes: 2 additions & 1 deletion requirements/dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,6 @@ pytest-json-report==1.5.0
filelock==3.12.2

# formatter
black==22.6.0
black==22.6.0; python_version < "3.8"
black==23.7.0; python_version >= "3.8"
psutil==5.9.5
1 change: 0 additions & 1 deletion samcli/commands/remote/invoke/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,6 @@ def do_cli(
stack_name=stack_name,
resource_id=resource_id,
) as remote_invoke_context:

remote_invoke_input = RemoteInvokeExecutionInfo(
payload=event, payload_file=event_file, parameters=parameter, output_format=output
)
Expand Down
1 change: 0 additions & 1 deletion samcli/hook_packages/terraform/hooks/prepare/hook.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,6 @@ def prepare(params: dict) -> dict:
if skip_prepare_infra and os.path.exists(metadata_file_path):
LOG.info("Skipping preparation stage, the metadata file already exists at %s", metadata_file_path)
else:

try:
# initialize terraform application
if not plan_file:
Expand Down
3 changes: 1 addition & 2 deletions tests/integration/remote/invoke/remote_invoke_integ_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ def get_integ_dir():

@staticmethod
def remote_invoke_deploy_stack(stack_name, template_path):

deploy_cmd = DeployIntegBase.get_deploy_command_list(
stack_name=stack_name,
template_file=template_path,
Expand Down Expand Up @@ -90,7 +89,7 @@ def get_command_list(
command_list = command_list + ["--output", output]

if parameter_list:
for (parameter, value) in parameter_list:
for parameter, value in parameter_list:
command_list = command_list + ["--parameter", f"{parameter}={value}"]

if region:
Expand Down
1 change: 0 additions & 1 deletion tests/unit/lib/samconfig/test_file_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,6 @@ def test_toml_put_comment(self):


class TestYamlFileManager(TestCase):

yaml = YAML()

def test_read_yaml(self):
Expand Down
1 change: 0 additions & 1 deletion tests/unit/local/apigw/test_lambda_authorizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,6 @@ def test_validate_is_resource_authorized(
expected_result,
method_arn="arn:aws:execute-api:us-east-1:123456789012:1234567890/prod/GET/hello",
):

auth = LambdaAuthorizer(
"my auth",
Mock(),
Expand Down
1 change: 0 additions & 1 deletion tests/unit/vendor/serverlessrepo/test_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@


class TestParser(TestCase):

yaml_with_tags = """
Resource:
Key1: !Ref Something
Expand Down

0 comments on commit 09f5fdc

Please sign in to comment.