Fixed RET506 (superfluous-else-raise): Unnecessary elif after raise statement

This commit is contained in:
Teal Dulcet
2025-06-20 02:40:07 -07:00
parent 5c9c1705d0
commit 54750b1763
+1 -1
View File
@@ -498,7 +498,7 @@ def list_target_files(config):
msg = f"Connection to rsync host failed: {reason}"
raise ValueError(msg)
elif target.scheme == "s3":
if target.scheme == "s3":
import boto3.s3
from botocore.exceptions import ClientError