From 0c85b1a53c209f5d22f9ab3c655571ee076ad7fc Mon Sep 17 00:00:00 2001
From: dingedi <contact@dingedi.com>
Date: Tue, 3 May 2022 11:09:55 +0200
Subject: [PATCH] add python 3.10

---
 .github/workflows/publish-package.yml | 6 +++---
 .github/workflows/run-tests.yml       | 2 +-
 setup.py                              | 3 ++-
 3 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/.github/workflows/publish-package.yml b/.github/workflows/publish-package.yml
index 1845d98..60dedea 100644
--- a/.github/workflows/publish-package.yml
+++ b/.github/workflows/publish-package.yml
@@ -12,7 +12,7 @@ jobs:
     runs-on: ubuntu-latest
     strategy:
       matrix:
-        python-version: [3.7, 3.8, 3.9]
+        python-version: [3.7, 3.8, 3.9, 3.10]
 
     steps:
     - uses: actions/checkout@v2
@@ -29,7 +29,7 @@ jobs:
 
     - name: Check code style with flake8 (lint)
       run: |
-        # warnings if there are Python syntax errors or undefined names 
+        # warnings if there are Python syntax errors or undefined names
         # (remove --exit-zero to fail when syntax error)
         flake8 . --count --exit-zero --select=E9,F63,F7,F82 --show-source --statistics
         # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
@@ -38,7 +38,7 @@ jobs:
     - name: Test with pytest
       run: pytest
 
-  
+
   publish:
     needs: [ tests ]
     runs-on: ubuntu-latest
diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml
index 96c6849..11250ae 100644
--- a/.github/workflows/run-tests.yml
+++ b/.github/workflows/run-tests.yml
@@ -19,7 +19,7 @@ jobs:
     runs-on: ubuntu-latest
     strategy:
       matrix:
-        python-version: [3.7, 3.8, 3.9]
+        python-version: [3.7, 3.8, 3.9, 3.10]
 
     steps:
     - uses: actions/checkout@v2
diff --git a/setup.py b/setup.py
index 38b0c66..5780002 100644
--- a/setup.py
+++ b/setup.py
@@ -33,6 +33,7 @@ setup(
         "Programming Language :: Python :: 3",
         "Programming Language :: Python :: 3.7",
         "Programming Language :: Python :: 3.8",
-        "Programming Language :: Python :: 3.9"
+        "Programming Language :: Python :: 3.9",
+        "Programming Language :: Python :: 3.10"
     ]
 )
-- 
GitLab