diff --git a/scripts/check_version_availability.py b/scripts/check_version_availability.py index 57b6a4ea..372d3215 100755 --- a/scripts/check_version_availability.py +++ b/scripts/check_version_availability.py @@ -1,5 +1,7 @@ #!/usr/bin/env python3 +from __future__ import annotations + from utils import get_current_package_version, get_published_package_versions # Checks whether the current package version number was not already used in a published release. diff --git a/scripts/check_version_in_changelog.py b/scripts/check_version_in_changelog.py index ac6e00e9..87aed57c 100755 --- a/scripts/check_version_in_changelog.py +++ b/scripts/check_version_in_changelog.py @@ -1,5 +1,7 @@ #!/usr/bin/env python3 +from __future__ import annotations + import re from utils import REPO_ROOT, get_current_package_version diff --git a/scripts/print_current_package_version.py b/scripts/print_current_package_version.py index 3c78a5b6..9cff474b 100755 --- a/scripts/print_current_package_version.py +++ b/scripts/print_current_package_version.py @@ -1,5 +1,7 @@ #!/usr/bin/env python3 +from __future__ import annotations + from utils import get_current_package_version # Print the current package version from the pyproject.toml file to stdout diff --git a/scripts/update_version_for_prerelease.py b/scripts/update_version_for_prerelease.py index 51ddf655..ee1882f4 100755 --- a/scripts/update_version_for_prerelease.py +++ b/scripts/update_version_for_prerelease.py @@ -1,5 +1,7 @@ #!/usr/bin/env python3 +from __future__ import annotations + import re import sys diff --git a/scripts/utils.py b/scripts/utils.py index 36d3f12c..ec575112 100644 --- a/scripts/utils.py +++ b/scripts/utils.py @@ -1,3 +1,5 @@ +from __future__ import annotations + import json import pathlib from urllib.error import HTTPError diff --git a/tests/integration/actor_source_base/src/__main__.py b/tests/integration/actor_source_base/src/__main__.py index 6aafff27..643eb63c 100644 --- a/tests/integration/actor_source_base/src/__main__.py +++ b/tests/integration/actor_source_base/src/__main__.py @@ -1,3 +1,5 @@ +from __future__ import annotations + import asyncio import logging diff --git a/tests/integration/actor_source_base/src/main.py b/tests/integration/actor_source_base/src/main.py index 210b9204..78c03a48 100644 --- a/tests/integration/actor_source_base/src/main.py +++ b/tests/integration/actor_source_base/src/main.py @@ -1,3 +1,5 @@ +from __future__ import annotations + from apify import Actor