Skip to content

Commit

Permalink
bump minimum flake8 version, and bump libcst version to match reality
Browse files Browse the repository at this point in the history
  • Loading branch information
jakkdl committed Feb 15, 2024
1 parent 3cf9d97 commit 7711b92
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
4 changes: 2 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7711b92

Please sign in to comment.