Repository: magmax/python-readchar (language: python)

Issue:
Add Python 3.12 to the CI
https://github.com/magmax/python-readchar/blob/6ae17c235dc14c685f41e0827f565f555b3469e4/.github/workflows/run-tests.yaml#L56

Hello! I see that the project is testing only on Python below 3.11. I suggest to add 3.12.


Discussion / hints:
Good suggestion, will get this done in the near future

Fix patch:
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index ca19612..8afdbbd 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.5.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..b7bb7f8 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
@@ -23,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


Test patch:
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