From 0a86f1f28684741da9ccd4906cf471a31b139480 Mon Sep 17 00:00:00 2001 From: Jan Wille Date: Fri, 15 Mar 2024 16:12:38 +0100 Subject: [PATCH 1/2] update pre-commit hook 'setup-cfg-fmt' --- .pre-commit-config.yaml | 6 ++++-- setup.cfg | 1 - 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index ca19612..6a6db6e 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -31,11 +31,13 @@ repos: id: flake8 - repo: https://github.com/asottile/setup-cfg-fmt - rev: v2.2.0 + rev: v2.4.0 hooks: - name: format setup.cfg id: setup-cfg-fmt - args: [--include-version-classifiers] + args: + - "--include-version-classifiers" + - "--min-py-version=3.7" - repo: https://github.com/executablebooks/mdformat rev: 0.7.16 diff --git a/setup.cfg b/setup.cfg index 2f09ace..e5650a7 100644 --- a/setup.cfg +++ b/setup.cfg @@ -7,7 +7,6 @@ long_description_content_type = text/markdown url = https://github.com/magmax/python-readchar author_email = miguelangel.garcia@gmail.com license = MIT -license_file = LICENCE license_files = LICENCE classifiers = Development Status :: 5 - Production/Stable From 64db890ffd047b77a892f635bb1731093dfbc26d Mon Sep 17 00:00:00 2001 From: Jan Wille Date: Fri, 15 Mar 2024 16:27:03 +0100 Subject: [PATCH 2/2] add python 3.12 support --- .github/workflows/run-tests.yaml | 1 + .pre-commit-config.yaml | 2 +- setup.cfg | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/run-tests.yaml b/.github/workflows/run-tests.yaml index c13b824..266a260 100644 --- a/.github/workflows/run-tests.yaml +++ b/.github/workflows/run-tests.yaml @@ -59,6 +59,7 @@ jobs: - '3.9' - '3.10' - '3.11' + - '3.12' steps: - name: Checkout uses: actions/checkout@v3 diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 6a6db6e..8afdbbd 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -31,7 +31,7 @@ repos: id: flake8 - repo: https://github.com/asottile/setup-cfg-fmt - rev: v2.4.0 + rev: v2.5.0 hooks: - name: format setup.cfg id: setup-cfg-fmt diff --git a/setup.cfg b/setup.cfg index e5650a7..b7bb7f8 100644 --- a/setup.cfg +++ b/setup.cfg @@ -22,6 +22,7 @@ classifiers = Programming Language :: Python :: 3.9 Programming Language :: Python :: 3.10 Programming Language :: Python :: 3.11 + Programming Language :: Python :: 3.12 Programming Language :: Python :: Implementation :: CPython Topic :: Software Development Topic :: Software Development :: User Interfaces