Skip to content

Commit 8a5ef0d

Browse files
committed
stop testing flake8<7, remove now unneeded stub files
1 parent 041f0db commit 8a5ef0d

File tree

6 files changed

+5
-344
lines changed

6 files changed

+5
-344
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,8 @@ jobs:
4040
python-version: ${{ matrix.python-version }}
4141
- name: Install dependencies
4242
run: python -m pip install --upgrade pip setuptools tox
43-
- name: Run tests with flake8_6
44-
run: python -m tox -e flake8_6
45-
- name: Run tests with flake8_7+
46-
run: python -m tox -e flake8_7
43+
- name: Run tests with flake8
44+
run: python -m tox -e flake8
4745
- name: Run tests without flake8
4846
run: python -m tox -e noflake8 -- --no-cov
4947

tox.ini

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
# The test environment and commands
22
[tox]
33
# default environments to run without `-e`
4-
envlist = py{39,310,311,312,313}-{flake8_6,flake8_7},noflake8
4+
# trailing comma gives the empty environ - i.e. no flake8 default python
5+
envlist = py{39,310,311,312,313}-{flake8},
56

67
# create a default testenv, whose behaviour will depend on the name it's called with.
78
# for CI you can call with `-e flake8_6,flake8_7` and let the CI handle python version
89
[testenv]
910
description = Runs pytest, optionally with posargs
1011
deps =
11-
flake8_7: flake8>=7.0
12-
flake8_6: flake8>=6.0, <7.0
12+
flake8: flake8
1313
pytest
1414
pytest-cov # to make it easy to pass --no-cov
1515
coverage

typings/flake8/__init__.pyi

Lines changed: 0 additions & 37 deletions
This file was deleted.

typings/flake8/main/application.pyi

Lines changed: 0 additions & 77 deletions
This file was deleted.

typings/flake8/main/cli.pyi

Lines changed: 0 additions & 18 deletions
This file was deleted.

typings/flake8/options/manager.pyi

Lines changed: 0 additions & 205 deletions
This file was deleted.

0 commit comments

Comments
 (0)