diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index f235f84..80cd12e 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -8,6 +8,6 @@ on: jobs: main: - uses: asottile/workflows/.github/workflows/tox.yml@v1.5.0 + uses: asottile/workflows/.github/workflows/tox.yml@v1.7.0 with: - env: '["py38", "py39", "py310", "py311"]' + env: '["py39", "py310", "py311", "py312"]' diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index a110f23..c440378 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -17,7 +17,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: @@ -26,7 +26,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/identify/cli.py b/identify/cli.py index bd7a501..98c77bd 100644 --- a/identify/cli.py +++ b/identify/cli.py @@ -2,7 +2,7 @@ import argparse import json -from typing import Sequence +from collections.abc import Sequence from identify import identify diff --git a/setup.cfg b/setup.cfg index df9b810..bb886cd 100644 --- a/setup.cfg +++ b/setup.cfg @@ -18,7 +18,7 @@ classifiers = [options] packages = find: -python_requires = >=3.8 +python_requires = >=3.9 [options.packages.find] exclude =