forked from github.com/blag
import future annotations to make mypy work on py38
This commit is contained in:
@@ -1,3 +1,5 @@
|
|||||||
|
# remove when we don't support py38 anymore
|
||||||
|
from __future__ import annotations
|
||||||
from argparse import Namespace
|
from argparse import Namespace
|
||||||
from typing import Iterator, Callable
|
from typing import Iterator, Callable
|
||||||
from tempfile import TemporaryDirectory
|
from tempfile import TemporaryDirectory
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
# remove when we don't support py38 anymore
|
||||||
|
from __future__ import annotations
|
||||||
from tempfile import TemporaryDirectory
|
from tempfile import TemporaryDirectory
|
||||||
import os
|
import os
|
||||||
from datetime import datetime
|
from datetime import datetime
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
# remove when we don't support py38 anymore
|
||||||
|
from __future__ import annotations
|
||||||
import time
|
import time
|
||||||
import threading
|
import threading
|
||||||
from argparse import Namespace
|
from argparse import Namespace
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
# remove when we don't support py38 anymore
|
||||||
|
from __future__ import annotations
|
||||||
from datetime import datetime
|
from datetime import datetime
|
||||||
from typing import Any
|
from typing import Any
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,6 @@
|
|||||||
|
# remove when we don't support py38 anymore
|
||||||
|
from __future__ import annotations
|
||||||
|
|
||||||
from pytest import MonkeyPatch
|
from pytest import MonkeyPatch
|
||||||
|
|
||||||
from blag.quickstart import get_input, quickstart
|
from blag.quickstart import get_input, quickstart
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
# remove when we don't support py38 anymore
|
||||||
|
from __future__ import annotations
|
||||||
import datetime
|
import datetime
|
||||||
|
|
||||||
from jinja2 import Template
|
from jinja2 import Template
|
||||||
|
|||||||
@@ -1,3 +1,6 @@
|
|||||||
|
# remove when we don't support py38 anymore
|
||||||
|
from __future__ import annotations
|
||||||
|
|
||||||
import blag
|
import blag
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user