Merge pull request #129 from s-weigand/fix-ci

🚇🩹 Fix test CI workflow
This commit is contained in:
Benexl
2025-08-17 20:25:55 +03:00
committed by GitHub
5 changed files with 2982 additions and 100 deletions

View File

@@ -22,6 +22,11 @@ jobs:
with:
python-version: ${{ matrix.python-version }}
- name: Install dbus-python build dependencies
run: |
sudo apt-get update
sudo apt-get -y install libdbus-1-dev libglib2.0-dev
- name: Install uv
uses: astral-sh/setup-uv@v3
with:

3059
uv.lock generated

File diff suppressed because it is too large Load Diff

View File

@@ -299,7 +299,7 @@ class DownloadService:
timeout=self.app_config.general.desktop_notification_duration
* 60,
)
except:
except: # noqa: E722
pass
logger.info(message)
else:
@@ -320,7 +320,7 @@ class DownloadService:
app_icon=app_icon,
timeout=self.app_config.general.desktop_notification_duration * 60,
)
except:
except: # noqa: E722
pass
logger.error(
message,

View File

@@ -44,7 +44,7 @@ class FeedbackService:
timeout=self.app_config.general.desktop_notification_duration * 60,
)
return
except:
except: # noqa: E722
logger.warning("Using rofi without plyer for notifications")
if details:
console.print(f"{main_msg}\n[dim]{details}[/dim]")
@@ -70,7 +70,7 @@ class FeedbackService:
timeout=self.app_config.general.desktop_notification_duration * 60,
)
return
except:
except: # noqa: E722
logger.warning("Using rofi without plyer for notifications")
if details:
console.print(f"{main_msg}\n[dim]{details}[/dim]")
@@ -97,7 +97,7 @@ class FeedbackService:
timeout=self.app_config.general.desktop_notification_duration * 60,
)
return
except:
except: # noqa: E722
logger.warning("Using rofi without plyer for notifications")
if details:
console.print(f"{main_msg}\n[dim]{details}[/dim]")
@@ -123,7 +123,7 @@ class FeedbackService:
timeout=self.app_config.general.desktop_notification_duration * 60,
)
return
except:
except: # noqa: E722
logger.warning("Using rofi without plyer for notifications")
if details:
console.print(f"{main_msg}\n[dim]{details}[/dim]")
@@ -179,7 +179,7 @@ class FeedbackService:
timeout=self.app_config.general.desktop_notification_duration * 60,
)
return
except:
except: # noqa: E722
logger.warning("Using rofi without plyer for notifications")
click.pause(f"{icon}{message}...")

View File

@@ -66,7 +66,7 @@ class RofiSelector(BaseSelector):
app_icon=str(ICON_PATH),
timeout=2 * 60,
)
except:
except: # noqa: E722
logger.warning("Using rofi without plyer for notifications")
sys.exit(1)
@@ -132,7 +132,7 @@ class RofiSelector(BaseSelector):
app_icon=str(ICON_PATH),
timeout=2 * 60,
)
except:
except: # noqa: E722
logger.warning("Using rofi without plyer for notifications")
# HACK: force exit if no input
sys.exit(1)