We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 57fa859 commit de6080bCopy full SHA for de6080b
packages/aws-library/src/aws_library/ec2/_models.py
@@ -292,8 +292,8 @@ def validate_bash_calls(cls, v):
292
# NOTE: this will not capture runtime errors, but at least some syntax errors such as invalid quotes
293
sh.bash(
294
"-n",
295
- temp_file.name, # pyright: ignore[reportCallIssue]
296
- ) # sh is untyped, but this call is safe for bash syntax checking
+ temp_file.name, # pyright: ignore[reportCallIssue] - sh is untyped but safe for bash syntax checking
+ )
297
except sh.ErrorReturnCode as exc:
298
msg = f"Invalid bash call in custom_boot_scripts: {v}, Error: {exc.stderr}"
299
raise ValueError(msg) from exc
0 commit comments