From 0f6a5c71eb0eac0ad9cf98ef84922deb46e9a0fd Mon Sep 17 00:00:00 2001 From: Tatu Aalto Date: Mon, 10 Jul 2023 14:17:52 +0300 Subject: [PATCH] Drop support for Python 3.7 --- .flake8 | 1 + .github/workflows/CI.yml | 4 ++-- mypy.ini | 8 ++++++++ setup.py | 2 +- 4 files changed, 12 insertions(+), 3 deletions(-) create mode 100644 mypy.ini diff --git a/.flake8 b/.flake8 index 0014793..91030e3 100644 --- a/.flake8 +++ b/.flake8 @@ -3,3 +3,4 @@ exclude = __pycache__, ignore = E203 max-line-length = 120 +max-complexity = 10 diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 3a5cb28..9e2c80d 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -8,8 +8,8 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: [3.7, 3.11.1] - rf-version: [5.0.1, 6.0.2] + python-version: [3.8, 3.11.1] + rf-version: [5.0.1, 6.1.0] steps: - uses: actions/checkout@v3 diff --git a/mypy.ini b/mypy.ini new file mode 100644 index 0000000..468e56c --- /dev/null +++ b/mypy.ini @@ -0,0 +1,8 @@ +[mypy] +python_version = 3.8 +warn_unused_ignores = True +no_implicit_optional = True +check_untyped_defs = True + +[mypy-robot.*] +ignore_missing_imports = True \ No newline at end of file diff --git a/setup.py b/setup.py index 17c6327..c8c73ff 100644 --- a/setup.py +++ b/setup.py @@ -11,10 +11,10 @@ License :: OSI Approved :: Apache Software License Operating System :: OS Independent Programming Language :: Python :: 3 -Programming Language :: Python :: 3.7 Programming Language :: Python :: 3.8 Programming Language :: Python :: 3.9 Programming Language :: Python :: 3.10 +Programming Language :: Python :: 3.11 Programming Language :: Python :: 3 :: Only Programming Language :: Python :: Implementation :: CPython Programming Language :: Python :: Implementation :: PyPy