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 asyncio
import subprocess import subprocess
from pathlib import Path from pathlib import Path

View File

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

View File

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

View File

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

View File

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

View File

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