fix: Update mypy type ignore comment for compatibility

- Change type: ignore[return-value] to type: ignore[no-any-return]
- Ensures mypy type checking passes in CI/CD pipeline

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Simone Scarduzio
2025-10-06 09:40:12 +02:00
parent 2efa760785
commit db0662c175

View File

@@ -163,7 +163,7 @@ class S3StorageAdapter(StoragePort):
try:
response = self.client.get_object(Bucket=bucket, Key=object_key)
return response["Body"] # type: ignore[return-value]
return response["Body"] # type: ignore[no-any-return]
except ClientError as e:
if e.response["Error"]["Code"] == "NoSuchKey":
raise FileNotFoundError(f"Object not found: {key}") from e