diff --git a/.github/workflows/unit-test.yml b/.github/workflows/unit-test.yml index badc228..3ea8959 100644 --- a/.github/workflows/unit-test.yml +++ b/.github/workflows/unit-test.yml @@ -15,7 +15,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: [3.7, 3.8, 3.9, "3.10", 3.11] + python-version: [3.8, 3.9, "3.10", 3.11, 3.12] steps: - uses: actions/checkout@v3 @@ -23,6 +23,7 @@ jobs: uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} + allow-prereleases: true - name: Install dependencies run: | python -m pip install --upgrade pip diff --git a/README.md b/README.md index 78682e8..933558b 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ Install with `pip`: pip install flake8-simplify ``` -Python 3.6 to 3.10 are supported. +Python 3.8 to 3.11 are supported. ## Usage diff --git a/pyproject.toml b/pyproject.toml index 5f3058d..69cfc8a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -29,10 +29,10 @@ classifiers = [ "Operating System :: OS Independent", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3 :: Only", - "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", "Topic :: Software Development", "Framework :: Flake8", ] @@ -57,7 +57,7 @@ namespaces = false [tool.black] line-length = 79 -target-version = ['py37'] +target-version = ['py38'] [tool.mutmut] backup = "False" diff --git a/tox.ini b/tox.ini index 9b3f843..69d2e53 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = lint,py36,py37,py38,py39,python3.10 +envlist = lint,py38,py39,py310,py311 [testenv] deps =