Skip to content

Commit

Permalink
Merge pull request #160 from chriskuehl/all-repos_autofix_all-repos-m…
Browse files Browse the repository at this point in the history
…anual

py39+
  • Loading branch information
asottile authored Oct 11, 2024
2 parents 763326c + 6dc04da commit 78ef17f
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python: ['3.8', '3.9', '3.10', '3.11']
python: ['3.9', '3.10', '3.11']
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
Expand Down
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ 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/pyupgrade
rev: v3.17.0
hooks:
- id: pyupgrade
args: [--py38-plus]
args: [--py39-plus]
- repo: https://github.com/asottile/setup-cfg-fmt
rev: v2.5.0
hooks:
Expand Down
6 changes: 3 additions & 3 deletions dumb_pypi/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@
import re
import sys
import tempfile
from collections.abc import Generator
from collections.abc import Iterator
from collections.abc import Sequence
from datetime import datetime
from typing import Any
from typing import Generator
from typing import IO
from typing import Iterator
from typing import NamedTuple
from typing import Sequence

import jinja2
import packaging.utils
Expand Down
1 change: 1 addition & 0 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ ephemeral-port-reserve
pre-commit>=1.0
pytest
requests
setuptools
twine
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ packages = dumb_pypi
install_requires =
jinja2
packaging>=20.9
python_requires = >=3.8
python_requires = >=3.9

[options.entry_points]
console_scripts =
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py38,py39,py310,py311
envlist = py3

[testenv]
deps = -rrequirements-dev.txt
Expand Down

0 comments on commit 78ef17f

Please sign in to comment.