diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index ab383cc..e6e4f03 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -13,7 +13,7 @@ repos: rev: v3.13.0 hooks: - id: reorder-python-imports - args: [--py38-plus, --add-import, 'from __future__ import annotations'] + args: [--py39-plus, --add-import, 'from __future__ import annotations'] - repo: https://github.com/asottile/add-trailing-comma rev: v3.1.0 hooks: @@ -22,7 +22,7 @@ repos: rev: v3.17.0 hooks: - id: pyupgrade - args: [--py38-plus] + args: [--py39-plus] - repo: https://github.com/hhatto/autopep8 rev: v2.3.1 hooks: diff --git a/bin/main b/bin/main index 353a49f..6f8d86a 100755 --- a/bin/main +++ b/bin/main @@ -10,10 +10,10 @@ import shutil import subprocess import tempfile import urllib.request +from collections.abc import Iterable +from collections.abc import Sequence from typing import Any -from typing import Iterable from typing import NamedTuple -from typing import Sequence _VERSION = 'v1.0.3'