Philipp Hörist pushed to branch master at gajim / gajim


Commits:
793276a3 by Philipp Hörist at 2023-10-15T11:29:23+02:00
cq: Remove obsolete pyright ignore comments

- - - - -
72024252 by Philipp Hörist at 2023-10-15T11:39:18+02:00
other: Raise pyright version for pre-commit

- - - - -


3 changed files:

- .pre-commit-config.yaml
- gajim/common/storage/cache.py
- gajim/common/storage/events.py


Changes:

=====================================
.pre-commit-config.yaml
=====================================
@@ -14,7 +14,7 @@ repos:
         - tomli
 
   - repo: https://github.com/RobertCraigie/pyright-python
-    rev: v1.1.324
+    rev: v1.1.331
     hooks:
     - id: pyright
       pass_filenames: false


=====================================
gajim/common/storage/cache.py
=====================================
@@ -124,7 +124,7 @@ def _namedtuple_factory(cursor: sqlite3.Cursor,
                             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)
 


=====================================
gajim/common/storage/events.py
=====================================
@@ -85,7 +85,7 @@ def _namedtuple_factory(cursor: sqlite3.Cursor,
                             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)
 



View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/compare/012559069517c8e37dbe660a9ee4be73badcf80c...72024252fb43fd67a44b4b6784735957c9e55dc9

-- 
View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/compare/012559069517c8e37dbe660a9ee4be73badcf80c...72024252fb43fd67a44b4b6784735957c9e55dc9
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]

Reply via email to