mirror of
https://github.com/PR0M3TH3AN/VoxVera.git
synced 2026-11-06 06:30:39 +00:00
Fix linting and missing imports in CI/CD
- Added missing os import in tests/test_e2e.py. - Removed trailing whitespace in voxvera/cli.py.
This commit is contained in:
1 parent
b3ee6869a2
commit
30ca68895f
2 files changed
+3
-2
No files matched your search
@@ -15,6 +15,7 @@ Requirements:
|
||||
"""
|
||||
|
||||
import json
|
||||
import os
|
||||
import re
|
||||
import shutil
|
||||
import socket
|
||||
|
||||
+2
-2
@@ -508,7 +508,7 @@ def build_assets(
|
||||
# Use data from config if available, otherwise use localized default
|
||||
value = data.get(field, landing_defaults.get(field, ""))
|
||||
|
||||
# If the value from config is just the master default,
|
||||
# If the value from config is just the master default,
|
||||
# and we are NOT in English, use the localized default instead.
|
||||
if data.get("lang", "en") != "en":
|
||||
if value == master_defaults.get(field):
|
||||
@@ -985,7 +985,7 @@ def build_site():
|
||||
# Use data from config if available, otherwise use localized default
|
||||
value = data.get(field, landing_defaults.get(field, ""))
|
||||
|
||||
# If the value from config is just the master default,
|
||||
# If the value from config is just the master default,
|
||||
# and we are NOT in English, use the localized default instead.
|
||||
if current_lang != "en":
|
||||
if value == master_defaults.get(field):
|
||||
|
||||
Reference in new issue
Block a user