Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/gajim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Hörist <philipp@hoerist.com>2023-10-15 12:29:23 +0300
committerPhilipp Hörist <philipp@hoerist.com>2023-10-15 12:29:23 +0300
commit793276a306934410688f940c04bf356557e416fa (patch)
tree0c8759ef6e52903912232f928f5e189984fece9e
parent012559069517c8e37dbe660a9ee4be73badcf80c (diff)
cq: Remove obsolete pyright ignore comments
-rw-r--r--gajim/common/storage/cache.py2
-rw-r--r--gajim/common/storage/events.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/gajim/common/storage/cache.py b/gajim/common/storage/cache.py
index 928a6cc2c..0eb0e3b8c 100644
--- a/gajim/common/storage/cache.py
+++ b/gajim/common/storage/cache.py
@@ -124,7 +124,7 @@ class CacheStorage(SqliteStorage):
row: tuple[Any, ...]) -> NamedTuple:
assert cursor.description is not None
- fields = [col[0] for col in cursor.description] # pyright: ignore
+ fields = [col[0] for col in cursor.description]
Row = namedtuple('Row', fields) # pyright: ignore
return Row(*row)
diff --git a/gajim/common/storage/events.py b/gajim/common/storage/events.py
index d54de33d2..9c8dd2aee 100644
--- a/gajim/common/storage/events.py
+++ b/gajim/common/storage/events.py
@@ -85,7 +85,7 @@ class EventStorage(SqliteStorage):
row: tuple[Any, ...]) -> NamedTuple:
assert cursor.description is not None
- fields = [col[0] for col in cursor.description] # pyright: ignore
+ fields = [col[0] for col in cursor.description]
Row = namedtuple('Row', fields) # pyright: ignore
return Row(*row)