diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 924f919..d74bbb6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -36,11 +36,11 @@ jobs: with: python-version: ${{ matrix.python-version }} - name: Install dependencies - run: | - python -m pip install --upgrade pip setuptools tox - python -m tox --notest --recreate -e flake8_5,flake8_6 - - name: Run tests - run: python -m tox -e flake8_5,flake8_6 + run: python -m pip install --upgrade pip setuptools tox + - name: Run tests with flake8_6 + run: python -m tox -e flake8_6 + - name: Run tests with flake8_7+ + run: python -m tox -e flake8_7 slow_tests: runs-on: ubuntu-latest diff --git a/setup.py b/setup.py index 22a26ed..bbc41fe 100755 --- a/setup.py +++ b/setup.py @@ -29,7 +29,7 @@ def local_file(name: str) -> Path: license="MIT", description="A highly opinionated flake8 plugin for Trio-related problems.", zip_safe=False, - install_requires=["flake8>=5", "libcst>=0.4"], + install_requires=["flake8>=6", "libcst>=1.0.1"], python_requires=">=3.9", classifiers=[ "Development Status :: 3 - Alpha", diff --git a/tox.ini b/tox.ini index c7fd716..fd02161 100644 --- a/tox.ini +++ b/tox.ini @@ -8,8 +8,8 @@ envlist = py{39,310,311,312}-{flake8_5,flake8_6} [testenv] description = Runs pytest, optionally with posargs deps = - flake8_6: flake8>=6.0 - flake8_5: flake8>=5.0,<6.0 + flake8_7: flake8>=7.0 + flake8_6: flake8>=6.0, <7.0 pytest pytest-cov pytest-xdist