From b34c275dd0faaf0195a9171f1d93b39aea2eb05f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20=C5=A0ediv=C3=BD?= <6774676+eumiro@users.noreply.github.com> Date: Sat, 3 Sep 2022 14:34:56 +0200 Subject: [PATCH] Roll to Python 3.7-3.10 --- .github/workflows/ci.yml | 2 +- .pre-commit-config.yaml | 4 ++-- README.rst | 6 ++++++ setup.py | 2 +- tox.ini | 6 +++--- 5 files changed, 13 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3e0b298..c3d9aed 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,7 +14,7 @@ jobs: strategy: matrix: - python-version: ["3.6", "3.7", "3.8", "3.9", "pypy3"] + python-version: ["3.7", "3.8", "3.9", "3.10", "pypy3"] steps: - uses: "actions/checkout@v2" diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 7ee5c5d..193ed24 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -37,7 +37,7 @@ repos: - id: python-check-blanket-noqa - id: rst-backticks - repo: https://github.com/psf/black - rev: 20.8b1 + rev: 22.8.0 hooks: - id: black args: [--safe, --quiet, --target-version=py36] @@ -48,7 +48,7 @@ repos: args: - --skip - B101 - - repo: https://gitlab.com/pycqa/flake8 + - repo: https://github.com/pycqa/flake8 rev: 3.8.4 hooks: - id: flake8 diff --git a/README.rst b/README.rst index d389b04..ecd20ee 100644 --- a/README.rst +++ b/README.rst @@ -5,5 +5,11 @@ ed(1) in Python .. image:: https://github.com/eumiro/ed/workflows/CI/badge.svg :target: https://github.com/eumiro/ed/actions?query=workflow%3ACI +.. image:: https://img.shields.io/pypi/v/ed.svg + :target: https://pypi.org/project/ed/ + +.. image:: https://img.shields.io/pypi/pyversions/ed.svg + :target: https://pypi.org/project/ed/ + .. image:: https://img.shields.io/github/license/eumiro/ed :target: https://github.com/eumiro/ed/ diff --git a/setup.py b/setup.py index c55d999..56ccf12 100644 --- a/setup.py +++ b/setup.py @@ -30,10 +30,10 @@ "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", "Topic :: Text Editors", "Topic :: Text Editors :: Text Processing", "Topic :: Utilities", diff --git a/tox.ini b/tox.ini index 264c78e..6293ca5 100644 --- a/tox.ini +++ b/tox.ini @@ -1,9 +1,9 @@ [tox] envlist = + py310 py39 py38 py37 - py36 [testenv] deps = @@ -13,8 +13,8 @@ commands = [gh-actions] python = - 3.6: py36 3.7: py37 3.8: py38 - 3.9: py39, docs, lint, manifest + 3.9: py39 + 3.10: py310, docs, lint, manifest pypy3: pypy3