Merge pull request #361 from bombsquad-community/fix_type_hints

fix type hints
This commit is contained in:
Loup 2025-04-08 22:37:10 +05:30 committed by GitHub
commit 63996424cc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 15 additions and 5 deletions

View file

@ -1,5 +1,9 @@
## Plugin Manager (dd-mm-yyyy)
### 1.1.3 (06-04-2025)
- Hot Fix
### 1.1.2 (06-04-2025)
- Small UI fixes.

View file

@ -1,6 +1,12 @@
{
"plugin_manager_url": "https://github.com/bombsquad-community/plugin-manager/{content_type}/{tag}/plugin_manager.py",
"versions": {
"1.1.3": {
"api_version": 9,
"commit_sha": "728b01b",
"released_on": "08-04-2025",
"md5sum": "627d5263a4b2b0708558f1251965d15b"
},
"1.1.2": {
"api_version": 9,
"commit_sha": "8f484fc",

View file

@ -29,7 +29,7 @@ from datetime import datetime
# Modules used for overriding AllSettingsWindow
import logging
PLUGIN_MANAGER_VERSION = "1.1.2"
PLUGIN_MANAGER_VERSION = "1.1.3"
REPOSITORY_URL = "https://github.com/bombsquad-community/plugin-manager"
# Current tag can be changed to "staging" or any other branch in
# plugin manager repo for testing purpose.
@ -1676,7 +1676,7 @@ class PluginCategoryWindow(popup.PopupMenuWindow):
class PluginManagerWindow(bui.MainWindow):
def __init__(self, transition: str = "in_right", origin_widget: bui.widget = None):
def __init__(self, transition: str = "in_right", origin_widget: bui.Widget = None):
self.plugin_manager = PluginManager()
self.category_selection_button = None
self.selected_category = 'All'
@ -2405,7 +2405,7 @@ class NewAllSettingsWindow(AllSettingsWindow):
def __init__(
self,
transition: str | None = 'in_right',
origin_widget: bui.widget | None = None,
origin_widget: bui.Widget | None = None,
):
# pylint: disable=too-many-statements
# pylint: disable=too-many-locals
@ -2481,7 +2481,7 @@ class NewAllSettingsWindow(AllSettingsWindow):
x_offs4 -= x_dif
def _b_title(
x: float, y: float, button: bui.widget, text: str | bui.Lstr
x: float, y: float, button: bui.Widget, text: str | bui.Lstr
) -> None:
bui.textwidget(
parent=self._root_widget,
@ -2640,7 +2640,7 @@ class NewAllSettingsWindow(AllSettingsWindow):
sel_name = bui.app.ui_v1.window_states.get(type(self), {}).get(
'sel_name'
)
sel: bui.widget | None
sel: bui.Widget | None
if sel_name == 'Controllers':
sel = self._controllers_button
elif sel_name == 'Graphics':