Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pre-commit.ci] pre-commit autoupdate #1429

Merged
merged 2 commits into from
Jan 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ repos:
hooks:
- id: yamllint
- repo: https://github.com/awslabs/cfn-python-lint
rev: v0.83.8
rev: v0.85.0
hooks:
- id: cfn-python-lint
args:
Expand All @@ -36,7 +36,7 @@ repos:
^.pre-commit-config.yaml
)
- repo: https://github.com/psf/black
rev: 23.1.0
rev: 24.1.1
hooks:
- id: black
- repo: https://github.com/python-poetry/poetry
Expand Down
6 changes: 3 additions & 3 deletions sceptre/connection_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -316,9 +316,9 @@ def _get_session(
"RoleSessionName": session_name,
}
if self.sceptre_role_session_duration:
assume_role_kwargs[
"DurationSeconds"
] = self.sceptre_role_session_duration
assume_role_kwargs["DurationSeconds"] = (
self.sceptre_role_session_duration
)
sts_response = sts_client.assume_role(**assume_role_kwargs)

credentials = sts_response["Credentials"]
Expand Down
6 changes: 3 additions & 3 deletions tests/test_diffing/test_stack_differ.py
Original file line number Diff line number Diff line change
Expand Up @@ -421,9 +421,9 @@ def test_diff__generated_template_has_no_echo_parameter__masks_value(self):
self.local_no_echo_parameters.append("hide_me")

expected_generated_config = self.expected_generated_config
expected_generated_config.parameters[
"hide_me"
] = StackDiffer.NO_ECHO_REPLACEMENT
expected_generated_config.parameters["hide_me"] = (
StackDiffer.NO_ECHO_REPLACEMENT
)

self.differ.diff(self.actions)

Expand Down