From ac7f10697e6da8746df8c70963fc43396f4f0928 Mon Sep 17 00:00:00 2001 From: kirianguiller Date: Fri, 16 Oct 2020 10:26:03 +0200 Subject: [PATCH] mypy_extensions --- app/fizz/fizzbar/interface.py | 2 +- app/fizz/fizzbaz/interface.py | 2 +- app/other_api/doodad/interface.py | 2 +- app/other_api/whatsit/interface.py | 2 +- app/widget/interface.py | 2 +- requirements.txt | 1 + 6 files changed, 6 insertions(+), 5 deletions(-) diff --git a/app/fizz/fizzbar/interface.py b/app/fizz/fizzbar/interface.py index 6b64ec1..7e49f68 100644 --- a/app/fizz/fizzbar/interface.py +++ b/app/fizz/fizzbar/interface.py @@ -1,4 +1,4 @@ -from typing import TypedDict +from mypy_extensions import TypedDict class FizzbarInterface(TypedDict, total=False): diff --git a/app/fizz/fizzbaz/interface.py b/app/fizz/fizzbaz/interface.py index b79050d..82f6c69 100644 --- a/app/fizz/fizzbaz/interface.py +++ b/app/fizz/fizzbaz/interface.py @@ -1,4 +1,4 @@ -from typing import TypedDict +from mypy_extensions import TypedDict class FizzbazInterface(TypedDict, total=False): diff --git a/app/other_api/doodad/interface.py b/app/other_api/doodad/interface.py index 4f54e73..2e816ac 100644 --- a/app/other_api/doodad/interface.py +++ b/app/other_api/doodad/interface.py @@ -1,4 +1,4 @@ -from typing import TypedDict +from mypy_extensions import TypedDict class DoodadInterface(TypedDict, total=False): diff --git a/app/other_api/whatsit/interface.py b/app/other_api/whatsit/interface.py index eee8bb7..a4b57ba 100644 --- a/app/other_api/whatsit/interface.py +++ b/app/other_api/whatsit/interface.py @@ -1,4 +1,4 @@ -from typing import TypedDict +from mypy_extensions import TypedDict class WhatsitInterface(TypedDict, total=False): diff --git a/app/widget/interface.py b/app/widget/interface.py index 659276e..f747a7b 100644 --- a/app/widget/interface.py +++ b/app/widget/interface.py @@ -1,4 +1,4 @@ -from typing import TypedDict +from mypy_extensions import TypedDict class WidgetInterface(TypedDict, total=False): diff --git a/requirements.txt b/requirements.txt index 2e8fa8f..8a532ee 100644 --- a/requirements.txt +++ b/requirements.txt @@ -16,6 +16,7 @@ Jinja2==2.11.2 jsonschema==3.2.0 MarkupSafe==1.1.1 marshmallow==3.8.0 +mypy-extensions==0.4.3 numpy==1.19.2 packaging==20.4 pandas==1.1.3