From 2878388edfc4af01e12ff94992a5fb8b8976bade Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Date: Mon, 23 Sep 2024 11:17:04 -0700 Subject: [PATCH 1/2] Drop support for Python 3.8 --- .github/workflows/main.yml | 2 +- .pre-commit-config.yaml | 2 +- tox.ini | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index cb8b350..60f56db 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -11,7 +11,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"] + python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"] os: [windows-latest, macos-latest, ubuntu-latest] steps: - uses: actions/checkout@v4 diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index c5fbb02..ed70683 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -3,7 +3,7 @@ repos: rev: v3.15.0 hooks: - id: pyupgrade - args: [--py38-plus] + args: [--py39-plus] - repo: https://github.com/psf/black-pre-commit-mirror rev: 23.12.1 diff --git a/tox.ini b/tox.ini index d41abed..f05149e 100644 --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,6 @@ [tox] envlist = - py{312, 311, 310, 39, 38} + py{313, 312, 311, 310, 39} isolated_build = true [testenv] From ef80710c89465aa36ff72b525760e6e9ccd1e58a Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Date: Mon, 23 Sep 2024 11:17:20 -0700 Subject: [PATCH 2/2] Newlines for readability --- tox.ini | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index f05149e..f56c058 100644 --- a/tox.ini +++ b/tox.ini @@ -9,4 +9,9 @@ passenv = extras = dev commands = - {envpython} -m pytest --cov cherry_picker --cov-report html --cov-report term --cov-report xml {posargs} + {envpython} -m pytest \ + --cov cherry_picker \ + --cov-report html \ + --cov-report term \ + --cov-report xml \ + {posargs}