]> git.ipfire.org Git - thirdparty/psycopg.git/commitdiff
Mypy version bumped to 0.800
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>
Fri, 22 Jan 2021 17:39:52 +0000 (18:39 +0100)
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>
Fri, 22 Jan 2021 17:39:52 +0000 (18:39 +0100)
psycopg3/psycopg3/wrappers/numeric.py
psycopg3/setup.py
tox.ini

index a60106b8b8c22161e9453443d3d8d5848ebc6ae7..74a7e9361617769be47b13fa152414832bc70296 100644 (file)
@@ -7,24 +7,24 @@ Wrappers to force numbers to be cast as specific PostgreSQL types
 
 class Int2(int):
     def __new__(cls, arg: int) -> "Int2":
-        return super().__new__(cls, arg)  # type: ignore
+        return super().__new__(cls, arg)
 
 
 class Int4(int):
     def __new__(cls, arg: int) -> "Int4":
-        return super().__new__(cls, arg)  # type: ignore
+        return super().__new__(cls, arg)
 
 
 class Int8(int):
     def __new__(cls, arg: int) -> "Int8":
-        return super().__new__(cls, arg)  # type: ignore
+        return super().__new__(cls, arg)
 
 
 class IntNumeric(int):
     def __new__(cls, arg: int) -> "IntNumeric":
-        return super().__new__(cls, arg)  # type: ignore
+        return super().__new__(cls, arg)
 
 
 class Oid(int):
     def __new__(cls, arg: int) -> "Oid":
-        return super().__new__(cls, arg)  # type: ignore
+        return super().__new__(cls, arg)
index 7ec2da35d3417c4c25d869e0f5e183fe195de641..f71ee56ab4645dffa12ae67d0561735a15e9ab8b 100644 (file)
@@ -39,7 +39,7 @@ extras_require = {
     "dev": [
         "black",
         "flake8 >= 3.8, < 3.9",
-        "mypy >= 0.790",
+        "mypy >= 0.800",
     ],
 }
 
diff --git a/tox.ini b/tox.ini
index a44bff9a4e442574dd8eea4033cc8853000926c6..76cdb0f66a75224a53b5ef8e9c32ef6e903753ef 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -14,7 +14,7 @@ skip_install = true
 
 [testenv:mypy]
 commands = mypy
-deps = mypy >= 0.790
+deps = mypy >= 0.800
 changedir = psycopg3
 skip_install = true