Skip to content

Commit d82ebd7

Browse files
authored
drop 3.7 and 3.8, prep for 3.13 (#131)
1 parent 66646fb commit d82ebd7

File tree

4 files changed

+7
-11
lines changed

4 files changed

+7
-11
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,11 @@ jobs:
1212
strategy:
1313
matrix:
1414
python:
15-
- "3.7"
16-
- "3.8"
1715
- "3.9"
1816
- "3.10"
1917
- "3.11"
2018
- "3.12"
19+
- "3.13"
2120
runs-on: ubuntu-latest
2221
steps:
2322
- uses: actions/checkout@v4

.github/workflows/listgen.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@ jobs:
108108
- "3.10"
109109
- "3.11"
110110
- "3.12"
111+
- "3.13"
111112

112113
runs-on: ubuntu-latest
113114

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,15 +56,15 @@ $(VENV)/pyvenv.cfg: pyproject.toml
5656
.PHONY: lint
5757
lint: $(VENV)/pyvenv.cfg
5858
. $(VENV_BIN)/activate && \
59-
black --check $(ALL_PY_SRCS) && \
59+
ruff format --check $(ALL_PY_SRCS) && \
6060
ruff check $(ALL_PY_SRCS) && \
6161
mypy $(PY_MODULE)
6262

6363
.PHONY: reformat
6464
reformat:
6565
. $(VENV_BIN)/activate && \
66-
ruff --fix $(ALL_PY_SRCS) && \
67-
black $(ALL_PY_SRCS)
66+
ruff check --fix $(ALL_PY_SRCS) && \
67+
ruff format $(ALL_PY_SRCS)
6868

6969
.PHONY: test tests
7070
test tests: $(VENV)/pyvenv.cfg

pyproject.toml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ classifiers = [
2424
"Topic :: Software Development :: Libraries :: Python Modules",
2525
]
2626
dependencies = []
27-
requires-python = ">=3.7"
27+
requires-python = ">=3.9"
2828

2929
[project.urls]
3030
Homepage = "https://pypi.org/project/stdlib-list/"
@@ -34,7 +34,7 @@ Documentation = "https://pypi.github.io/stdlib-list/"
3434

3535
[project.optional-dependencies]
3636
test = ["pytest", "pytest-cov", "coverage[toml]"]
37-
lint = ["black", "mypy", "ruff"]
37+
lint = ["mypy", "ruff"]
3838
doc = ["sphinx", "furo"]
3939
dev = ["build", "stdlib-list[test,lint,doc]"]
4040
# CI only: used for list generation for Python versions < 3.10.
@@ -57,10 +57,6 @@ warn_unreachable = true
5757
warn_unused_configs = true
5858
warn_unused_ignores = true
5959

60-
[tool.black]
61-
line-length = 100
62-
6360
[tool.ruff]
6461
lint.select = ["E", "F", "I", "W", "UP"]
65-
target-version = "py37"
6662
line-length = 100

0 commit comments

Comments
 (0)