Fix annotation type-hints in some files on Python 3.x

Fixes #28.
This commit is contained in:
rlaphoenix 2023-02-13 19:02:54 +00:00
parent af5e6acbb8
commit d926b4fe9a
6 changed files with 12 additions and 0 deletions

View File

@ -1,3 +1,5 @@
from __future__ import annotations
import asyncio
import subprocess
from pathlib import Path

View File

@ -1,3 +1,5 @@
from __future__ import annotations
import subprocess
from pathlib import Path
from typing import Optional, Union

View File

@ -1,3 +1,5 @@
from __future__ import annotations
import random
import re
import subprocess

View File

@ -1,3 +1,5 @@
from __future__ import annotations
import json
import re
from typing import Optional

View File

@ -1,3 +1,5 @@
from __future__ import annotations
import asyncio
import logging
import re

View File

@ -1,3 +1,5 @@
from __future__ import annotations
import ast
import contextlib
import importlib.util