Skip to content

Commit fba2e7e

Browse files
authored
Support Flake8 version 6 (#316)
1 parent 59de0f8 commit fba2e7e

File tree

5 files changed

+10
-12
lines changed

5 files changed

+10
-12
lines changed

.github/workflows/static.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- uses: actions/cache@v1
2222
with:
2323
path: ~/.cache/pip
24-
key: static-pip-${{ hashFiles('setup.py') }}
24+
key: static-pip-${{ hashFiles('pyproject.toml') }}
2525
restore-keys: static-pip-
2626
- uses: actions/checkout@v2
2727
- uses: actions/setup-python@v2

.github/workflows/test-linux.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,14 @@ jobs:
2626
- uses: actions/cache@v1
2727
with:
2828
path: ~/.cache/pip
29-
key: ${{ runner.os }}-${{ matrix.PYTHON_VERSION }}-pip-${{ hashFiles('setup.py') }}
29+
key: ${{ runner.os }}-${{ matrix.PYTHON_VERSION }}-pip-${{ hashFiles('pyproject.toml') }}
3030
restore-keys: ${{ runner.os }}-${{ matrix.PYTHON_VERSION }}-pip-
3131
- uses: actions/checkout@v2
3232
- uses: actions/setup-python@v2
3333
with:
3434
python-version: ${{ matrix.PYTHON_VERSION }}
3535
architecture: 'x64'
3636
- name: Create Jedi environment for testing
37-
if: matrix.PYTHON_VERSION != '2.7'
3837
run: |
3938
python3 -m venv /tmp/pyenv
4039
/tmp/pyenv/bin/python -m pip install loghub

.github/workflows/test-mac.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,14 @@ jobs:
2626
- uses: actions/cache@v1
2727
with:
2828
path: ~/Library/Caches/pip
29-
key: ${{ runner.os }}-${{ matrix.PYTHON_VERSION }}-pip-${{ hashFiles('setup.py') }}
29+
key: ${{ runner.os }}-${{ matrix.PYTHON_VERSION }}-pip-${{ hashFiles('pyproject.toml') }}
3030
restore-keys: ${{ runner.os }}-${{ matrix.PYTHON_VERSION }}-pip-
3131
- uses: actions/checkout@v2
3232
- uses: actions/setup-python@v2
3333
with:
3434
python-version: ${{ matrix.PYTHON_VERSION }}
3535
architecture: 'x64'
3636
- name: Create Jedi environment for testing
37-
if: matrix.PYTHON_VERSION != '2.7'
3837
run: |
3938
python3 -m venv /tmp/pyenv
4039
/tmp/pyenv/bin/python -m pip install loghub

.github/workflows/test-win.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
- uses: actions/cache@v1
2727
with:
2828
path: ~\AppData\Local\pip\Cache
29-
key: ${{ runner.os }}-${{ matrix.PYTHON_VERSION }}-pip-${{ hashFiles('setup.py') }}
29+
key: ${{ runner.os }}-${{ matrix.PYTHON_VERSION }}-pip-${{ hashFiles('pyproject.toml') }}
3030
restore-keys: ${{ runner.os }}-${{ matrix.PYTHON_VERSION }}-pip-
3131
- uses: actions/checkout@v2
3232
- uses: actions/setup-python@v2

pyproject.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,22 +28,22 @@ Homepage = "https://github.com/python-lsp/python-lsp-server"
2828
[project.optional-dependencies]
2929
all = [
3030
"autopep8>=1.6.0,<1.7.0",
31-
"flake8>=5.0.0,<5.1.0",
31+
"flake8>=5.0.0,<7",
3232
"mccabe>=0.7.0,<0.8.0",
33-
"pycodestyle>=2.9.0,<2.10.0",
33+
"pycodestyle>=2.9.0,<2.11.0",
3434
"pydocstyle>=2.0.0",
35-
"pyflakes>=2.5.0,<2.6.0",
35+
"pyflakes>=2.5.0,<3.1.0",
3636
"pylint>=2.5.0",
3737
"rope>1.2.0",
3838
"yapf",
3939
"whatthepatch"
4040
]
4141
autopep8 = ["autopep8>=1.6.0,<1.7.0"]
42-
flake8 = ["flake8>=5.0.0,<5.1.0"]
42+
flake8 = ["flake8>=5.0.0,<7"]
4343
mccabe = ["mccabe>=0.7.0,<0.8.0"]
44-
pycodestyle = ["pycodestyle>=2.9.0,<2.10.0"]
44+
pycodestyle = ["pycodestyle>=2.9.0,<2.11.0"]
4545
pydocstyle = ["pydocstyle>=2.0.0"]
46-
pyflakes = ["pyflakes>=2.5.0,<2.6.0"]
46+
pyflakes = ["pyflakes>=2.5.0,<3.1.0"]
4747
pylint = ["pylint>=2.5.0"]
4848
rope = ["rope>1.2.0"]
4949
yapf = ["yapf", "whatthepatch>=1.0.2,<2.0.0"]

0 commit comments

Comments
 (0)