Skip to content
This repository was archived by the owner on Jun 20, 2023. It is now read-only.

Commit b96d517

Browse files
committed
🚨 fix linter warnings
Signed-off-by: jbleduigou <[email protected]>
1 parent 4b754a0 commit b96d517

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

‎scan.py‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,10 @@ def lambda_handler(event, context):
230230
for download in to_download.values():
231231
s3_path = download["s3_path"]
232232
local_path = download["local_path"]
233-
print("Downloading definition file %s from s3://%s/%s" % (local_path, AV_DEFINITION_S3_BUCKET, s3_path))
233+
print(
234+
"Downloading definition file %s from s3://%s/%s"
235+
% (local_path, AV_DEFINITION_S3_BUCKET, s3_path)
236+
)
234237
s3.Bucket(AV_DEFINITION_S3_BUCKET).download_file(s3_path, local_path)
235238
print("Downloading definition file %s complete!" % (local_path))
236239
scan_result, scan_signature = clamav.scan_file(file_path)

‎update.py‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,10 @@ def lambda_handler(event, context):
3737
for download in to_download.values():
3838
s3_path = download["s3_path"]
3939
local_path = download["local_path"]
40-
print("Downloading definition file %s from s3://%s/%s" % (local_path, AV_DEFINITION_S3_BUCKET, s3_path))
40+
print(
41+
"Downloading definition file %s from s3://%s/%s"
42+
% (local_path, AV_DEFINITION_S3_BUCKET, s3_path)
43+
)
4144
s3.Bucket(AV_DEFINITION_S3_BUCKET).download_file(s3_path, local_path)
4245
print("Downloading definition file %s complete!" % (local_path))
4346

0 commit comments

Comments
 (0)