Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 5 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,10 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
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
- name: Run tests with flake8
run: python -m tox -e flake8
- name: Run tests without flake8
run: python -m tox -e noflake8 -- --no-cov
run: python -m tox -e "" -- --no-cov

slow_tests:
runs-on: ubuntu-latest
Expand All @@ -60,9 +58,9 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools tox
python -m tox --notest --recreate -e flake8_7
python -m tox --notest --recreate -e flake8
- name: Run tests
run: python -m tox -e flake8_7 -- --onlyfuzz --no-cov -n auto
run: python -m tox -e flake8 -- --onlyfuzz --no-cov -n auto

check_release:
runs-on: ubuntu-latest
Expand Down
6 changes: 3 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
# The test environment and commands
[tox]
# default environments to run without `-e`
envlist = py{39,310,311,312,313}-{flake8_6,flake8_7},noflake8
# trailing comma gives the empty environ - i.e. no flake8 default python
envlist = py{39,310,311,312,313}-{flake8},

# create a default testenv, whose behaviour will depend on the name it's called with.
# for CI you can call with `-e flake8_6,flake8_7` and let the CI handle python version
[testenv]
description = Runs pytest, optionally with posargs
deps =
flake8_7: flake8>=7.0
flake8_6: flake8>=6.0, <7.0
flake8: flake8
pytest
pytest-cov # to make it easy to pass --no-cov
coverage
Expand Down
37 changes: 0 additions & 37 deletions typings/flake8/__init__.pyi

This file was deleted.

77 changes: 0 additions & 77 deletions typings/flake8/main/application.pyi

This file was deleted.

18 changes: 0 additions & 18 deletions typings/flake8/main/cli.pyi

This file was deleted.

205 changes: 0 additions & 205 deletions typings/flake8/options/manager.pyi

This file was deleted.

Loading