diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7686f81..5f5c4ad 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,9 +10,9 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ['3.9', '3.10', '3.11', '3.12', '3.13'] + python-version: ['3.10', '3.11', '3.12', '3.13'] steps: - - uses: actions/checkout@v5 + - uses: actions/checkout@v6 - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v6 with: diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 16918c2..e698824 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -18,30 +18,30 @@ repos: rev: 7.3.0 hooks: - id: flake8 - additional_dependencies: [flake8-typing-imports==1.14.0] - args: [--min-python-version=3.9] + additional_dependencies: [flake8-typing-imports==1.17.0] + args: [--min-python-version=3.10] - repo: https://github.com/hhatto/autopep8 rev: v2.3.2 hooks: - id: autopep8 - repo: https://github.com/asottile/reorder-python-imports - rev: v3.15.0 + rev: v3.16.0 hooks: - id: reorder-python-imports - repo: https://github.com/asottile/add-trailing-comma - rev: v3.2.0 + rev: v4.0.0 hooks: - id: add-trailing-comma - repo: https://github.com/asottile/pyupgrade - rev: v3.20.0 + rev: v3.21.2 hooks: - id: pyupgrade - args: [--py39-plus] + args: [--py310-plus] - repo: https://github.com/asottile/setup-cfg-fmt - rev: v2.8.0 + rev: v3.2.0 hooks: - id: setup-cfg-fmt - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.18.2 + rev: v1.19.1 hooks: - id: mypy diff --git a/setup.cfg b/setup.cfg index e22d9f0..90addbb 100644 --- a/setup.cfg +++ b/setup.cfg @@ -18,7 +18,7 @@ classifiers = py_modules = flake8_timeout install_requires = flake8 -python_requires = >=3.9 +python_requires = >=3.10 [options.packages.find] exclude = diff --git a/tox.ini b/tox.ini index 7ddf0d9..27d98ac 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py39, py310, py311, py312, py313, pre-commit +envlist = py310, py311, py312, py313, pre-commit skip_missing_interpreters = true [testenv]