From 6f4b76985d9f7d0afb534d04c580e8b3c7fff8e3 Mon Sep 17 00:00:00 2001 From: Anthony Sottile Date: Fri, 11 Oct 2024 20:04:09 -0400 Subject: [PATCH] py39+ Committed via https://github.com/asottile/all-repos --- .pre-commit-config.yaml | 4 ++-- bin/main | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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'