style: apply ruff format to print statements
This commit is contained in:
@@ -400,8 +400,10 @@ def scan_convos(convo_dir: str) -> list:
|
||||
try:
|
||||
file_size = filepath.stat().st_size
|
||||
if file_size > MAX_FILE_SIZE:
|
||||
print(f" SKIP: {filepath.name} ({file_size / (1024 * 1024):.1f} MB)"
|
||||
f" exceeds {MAX_FILE_SIZE // (1024 * 1024)} MB limit")
|
||||
print(
|
||||
f" SKIP: {filepath.name} ({file_size / (1024 * 1024):.1f} MB)"
|
||||
f" exceeds {MAX_FILE_SIZE // (1024 * 1024)} MB limit"
|
||||
)
|
||||
continue
|
||||
except OSError:
|
||||
continue
|
||||
|
||||
+4
-2
@@ -1593,8 +1593,10 @@ def scan_project(
|
||||
try:
|
||||
file_size = filepath.stat().st_size
|
||||
if file_size > MAX_FILE_SIZE:
|
||||
print(f" SKIP: {filepath.name} ({file_size / (1024 * 1024):.1f} MB)"
|
||||
f" exceeds {MAX_FILE_SIZE // (1024 * 1024)} MB limit")
|
||||
print(
|
||||
f" SKIP: {filepath.name} ({file_size / (1024 * 1024):.1f} MB)"
|
||||
f" exceeds {MAX_FILE_SIZE // (1024 * 1024)} MB limit"
|
||||
)
|
||||
continue
|
||||
except OSError:
|
||||
continue
|
||||
|
||||
Reference in New Issue
Block a user