Skip to content

Commit de6080b

Browse files
sandereggCopilot
andauthored
Update packages/aws-library/src/aws_library/ec2/_models.py
Co-authored-by: Copilot <[email protected]>
1 parent 57fa859 commit de6080b

File tree

1 file changed

+2
-2
lines changed
  • packages/aws-library/src/aws_library/ec2

1 file changed

+2
-2
lines changed

packages/aws-library/src/aws_library/ec2/_models.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -292,8 +292,8 @@ def validate_bash_calls(cls, v):
292292
# NOTE: this will not capture runtime errors, but at least some syntax errors such as invalid quotes
293293
sh.bash(
294294
"-n",
295-
temp_file.name, # pyright: ignore[reportCallIssue]
296-
) # sh is untyped, but this call is safe for bash syntax checking
295+
temp_file.name, # pyright: ignore[reportCallIssue] - sh is untyped but safe for bash syntax checking
296+
)
297297
except sh.ErrorReturnCode as exc:
298298
msg = f"Invalid bash call in custom_boot_scripts: {v}, Error: {exc.stderr}"
299299
raise ValueError(msg) from exc

0 commit comments

Comments
 (0)