1
0
mirror of https://github.com/venthur/blag.git synced 2025-11-25 20:52:43 +00:00

import future annotations to make mypy work on py38

This commit is contained in:
Bastian Venthur
2022-08-31 23:04:30 +02:00
parent ebac0a8fc4
commit f59a648779
7 changed files with 16 additions and 0 deletions

View File

@@ -1,3 +1,5 @@
# remove when we don't support py38 anymore
from __future__ import annotations
from argparse import Namespace
from typing import Iterator, Callable
from tempfile import TemporaryDirectory

View File

@@ -1,3 +1,5 @@
# remove when we don't support py38 anymore
from __future__ import annotations
from tempfile import TemporaryDirectory
import os
from datetime import datetime

View File

@@ -1,3 +1,5 @@
# remove when we don't support py38 anymore
from __future__ import annotations
import time
import threading
from argparse import Namespace

View File

@@ -1,3 +1,5 @@
# remove when we don't support py38 anymore
from __future__ import annotations
from datetime import datetime
from typing import Any

View File

@@ -1,3 +1,6 @@
# remove when we don't support py38 anymore
from __future__ import annotations
from pytest import MonkeyPatch
from blag.quickstart import get_input, quickstart

View File

@@ -1,3 +1,5 @@
# remove when we don't support py38 anymore
from __future__ import annotations
import datetime
from jinja2 import Template

View File

@@ -1,3 +1,6 @@
# remove when we don't support py38 anymore
from __future__ import annotations
import blag