From 5bb106139318495259e4ad4bc4e854bee291eb5d Mon Sep 17 00:00:00 2001 From: thePR0M3TH3AN <53631862+PR0M3TH3AN@users.noreply.github.com> Date: Fri, 13 Mar 2026 17:01:14 -0400 Subject: [PATCH] chore: Final linting polish and whitespace cleanup --- tests/test_integrity.py | 1 - voxvera/cli.py | 7 +++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/tests/test_integrity.py b/tests/test_integrity.py index f412228..3548f92 100644 --- a/tests/test_integrity.py +++ b/tests/test_integrity.py @@ -3,7 +3,6 @@ import os import shutil import zipfile from pathlib import Path -import pytest from voxvera import cli # Helper to find project root diff --git a/voxvera/cli.py b/voxvera/cli.py index 69ef128..58612cb 100644 --- a/voxvera/cli.py +++ b/voxvera/cli.py @@ -7,7 +7,6 @@ import shutil import subprocess import sys import time -import datetime from pathlib import Path from importlib import resources from importlib.resources.abc import Traversable @@ -334,7 +333,7 @@ def bundle_portable(dest_zip: Path): # 2. Include the voxvera/ source directory for root, dirs, files in os.walk(ROOT): if "__pycache__" in root or "host" in root or "vendor" in root: - if "vendor" in root: # We DO want vendor + if "vendor" in root: # We DO want vendor pass else: continue @@ -345,7 +344,7 @@ def bundle_portable(dest_zip: Path): # 3. Include the run scripts and root files root_files = [ - "voxvera-run.sh", "voxvera-install.sh", "README.md", + "voxvera-run.sh", "voxvera-install.sh", "README.md", "requirements.txt", "setup.sh", "install.sh" ] for script in root_files: @@ -389,7 +388,7 @@ def build_assets( html = html.replace("{{locales}}", json.dumps(all_locales)) - # 1. Statically replace localization tokens {{t_web_...}} + # 1. Statically replace localization tokens {{t_web_...}} # This ensures the flyer is translated even with JS disabled. lang_data = all_locales.get(data.get("lang", "en"), all_locales.get("en", {}))