Skip to content

Commit 7cf6063

Browse files
authored
Merge branch 'release-3.14' into wip/mgiacomo/3140/upload-cookbook-1029-1
2 parents ae770fb + 03832cf commit 7cf6063

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

.flake8

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ ignore =
1515
# B028: Consider replacing f"'{foo}'" with f"{foo!r}".
1616
# Currently being disabled by flake8-bugbear. See https://github.com/PyCQA/flake8-bugbear/pull/333
1717
B028
18+
# B042: Exception class with `__init__` should pass all args to `super().__init__()` in order to work with `copy.copy()`.
19+
# Affected by false positive, https://github.com/PyCQA/flake8-bugbear/issues/525
20+
B042
1821
exclude =
1922
.tox,
2023
.git,

cookbooks/aws-parallelcluster-environment/files/cloudwatch/cloudwatch_agent_config_util.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,8 @@ def _validate_timestamp_keys(input_json):
9797
if log_config.get("timestamp_format_key") not in valid_keys:
9898
_fail(
9999
f"Log config with log_stream_name {log_config.get('log_stream_name')} and "
100-
f"file_path {log_config.get('file_path'),} contains an invalid timestamp_format_key: "
101-
f"{log_config.get('timestamp_format_key')}. Valid values are {', '.join(valid_keys),}"
100+
f"file_path {log_config.get('file_path'), } contains an invalid timestamp_format_key: "
101+
f"{log_config.get('timestamp_format_key')}. Valid values are {', '.join(valid_keys), }"
102102
)
103103

104104

cookbooks/aws-parallelcluster-slurm/files/default/head_node_slurm/slurm/config_renderer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ def _definitions(self, dynamic=False):
8080
definitions += f" Weight={self.dynamic_node_priority if dynamic else self.static_node_priority}"
8181

8282
if self.has_gpu and self.gpu_count > 0:
83-
definitions += f" Gres=gpu:{ self.gpu_type }:{self.gpu_count}"
83+
definitions += f" Gres=gpu:{self.gpu_type}:{self.gpu_count}"
8484

8585
return definitions
8686

0 commit comments

Comments
 (0)