Daniel Brötzmann pushed to branch master at gajim / gajim
Commits:
209c7522 by wurstsalat at 2025-08-02T14:50:50+02:00
cq: Modules: Remove obsolete type ignores
- - - - -
3 changed files:
- gajim/common/modules/annotations.py
- gajim/common/modules/bookmarks.py
- gajim/common/modules/roster.py
Changes:
=====================================
gajim/common/modules/annotations.py
=====================================
@@ -30,7 +30,7 @@ def __init__(self, con: ConnectionT) -> None:
def request_annotations(self) -> None:
self._nbxmpp('Annotations').request_annotations(
- callback=self._annotations_received) # type: ignore
+ callback=self._annotations_received)
def _annotations_received(self, task: Task) -> None:
try:
=====================================
gajim/common/modules/bookmarks.py
=====================================
@@ -215,7 +215,7 @@ def request_bookmarks(self) -> None:
self._request_in_progress = True
self._nbxmpp(self._bookmark_module()).request_bookmarks(
- callback=self._bookmarks_received) # type: ignore
+ callback=self._bookmarks_received)
def _bookmarks_received(self, task: Task) -> None:
try:
=====================================
gajim/common/modules/roster.py
=====================================
@@ -78,7 +78,7 @@ def request_roster(self) -> None:
self._log.info('Request version: %s', version)
self._nbxmpp('Roster').request_roster(
- version, callback=self._on_request_roster) # type: ignore
+ version, callback=self._on_request_roster)
def _on_request_roster(self, task: Task) -> None:
try:
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/commit/209c752293424d46e105ba93d5f2c20995e35f59
--
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/commit/209c752293424d46e105ba93d5f2c20995e35f59
You're receiving this email because of your account on dev.gajim.org.
_______________________________________________
Commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]