Skip to content

Commit

Permalink
drop 3.7 and 3.8, prep for 3.13 (#131)
Browse files Browse the repository at this point in the history
  • Loading branch information
woodruffw authored Oct 15, 2024
1 parent 66646fb commit d82ebd7
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 11 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,11 @@ jobs:
strategy:
matrix:
python:
- "3.7"
- "3.8"
- "3.9"
- "3.10"
- "3.11"
- "3.12"
- "3.13"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/listgen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ jobs:
- "3.10"
- "3.11"
- "3.12"
- "3.13"

runs-on: ubuntu-latest

Expand Down
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -56,15 +56,15 @@ $(VENV)/pyvenv.cfg: pyproject.toml
.PHONY: lint
lint: $(VENV)/pyvenv.cfg
. $(VENV_BIN)/activate && \
black --check $(ALL_PY_SRCS) && \
ruff format --check $(ALL_PY_SRCS) && \
ruff check $(ALL_PY_SRCS) && \
mypy $(PY_MODULE)

.PHONY: reformat
reformat:
. $(VENV_BIN)/activate && \
ruff --fix $(ALL_PY_SRCS) && \
black $(ALL_PY_SRCS)
ruff check --fix $(ALL_PY_SRCS) && \
ruff format $(ALL_PY_SRCS)

.PHONY: test tests
test tests: $(VENV)/pyvenv.cfg
Expand Down
8 changes: 2 additions & 6 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ classifiers = [
"Topic :: Software Development :: Libraries :: Python Modules",
]
dependencies = []
requires-python = ">=3.7"
requires-python = ">=3.9"

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

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

[tool.black]
line-length = 100

[tool.ruff]
lint.select = ["E", "F", "I", "W", "UP"]
target-version = "py37"
line-length = 100

0 comments on commit d82ebd7

Please sign in to comment.