Skip to content

Commit 7d9df08

Browse files
committed
Fix linter errors: remove unused import and obsolete code, keep only streaming ZIP logic
1 parent edd8e65 commit 7d9df08

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/sumbuddy/__main__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
from tqdm import tqdm
88
import sys
99
import os
10-
import zipfile
1110
from sumbuddy.archive import ArchiveHandler
1211

1312
def get_checksums(input_path, output_filepath=None, ignore_file=None, include_hidden=False, algorithm='md5', length=None):

src/sumbuddy/archive.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def process_zip(self, zip_path, root_dir):
3636
for member in zip_ref.namelist():
3737
# Only add files, not directories
3838
if member.endswith('/'):
39-
continued
39+
continue
4040
full_path = os.path.join(self.temp_dir, member)
4141
# The path as it should appear in the CSV: zip_path/member
4242
rel_path = f"{zip_path}/{member}"

0 commit comments

Comments
 (0)