Группа :: Development/Python3
Пакет: python3-module-python-lsp-server
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: 0001-Add-support-for-pyflakes-3.1-and-pycodestyle-2.11-41.patch
Скачать
Скачать
From 43104e985e318ba3d960ce576a4f50db38249af6 Mon Sep 17 00:00:00 2001
From: Chih-Hsuan Yen <1937689+yan12125@users.noreply.github.com>
Date: Tue, 15 Aug 2023 22:47:18 +0800
Subject: [PATCH] Add support for pyflakes 3.1 and pycodestyle 2.11 (#415)
---
pylsp/plugins/pyflakes_lint.py | 1 -
pyproject.toml | 12 ++++++------
2 files changed, 6 insertions(+), 7 deletions(-)
diff --git a/pylsp/plugins/pyflakes_lint.py b/pylsp/plugins/pyflakes_lint.py
index 72e16a2..2c3c329 100644
--- a/pylsp/plugins/pyflakes_lint.py
+++ b/pylsp/plugins/pyflakes_lint.py
@@ -15,7 +15,6 @@ PYFLAKES_ERROR_MESSAGES = (
messages.YieldOutsideFunction,
messages.ContinueOutsideLoop,
messages.BreakOutsideLoop,
- messages.ContinueInFinally,
messages.TwoStarredExpressions,
)
diff --git a/pyproject.toml b/pyproject.toml
index 0a5fd20..d0d7df8 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -28,22 +28,22 @@ Homepage = "https://github.com/python-lsp/python-lsp-server"
[project.optional-dependencies]
all = [
"autopep8>=1.6.0,<2.1.0",
- "flake8>=5.0.0,<7",
+ "flake8>=6.1.0,<7",
"mccabe>=0.7.0,<0.8.0",
- "pycodestyle>=2.9.0,<2.11.0",
+ "pycodestyle>=2.11.0,<2.12.0",
"pydocstyle>=6.3.0,<6.4.0",
- "pyflakes>=2.5.0,<3.1.0",
+ "pyflakes>=3.1.0,<3.2.0",
"pylint>=2.5.0,<3",
"rope>1.2.0",
"yapf>=0.33.0",
"whatthepatch>=1.0.2,<2.0.0"
]
autopep8 = ["autopep8>=1.6.0,<2.1.0"]
-flake8 = ["flake8>=5.0.0,<7"]
+flake8 = ["flake8>=6.1.0,<7"]
mccabe = ["mccabe>=0.7.0,<0.8.0"]
-pycodestyle = ["pycodestyle>=2.9.0,<2.11.0"]
+pycodestyle = ["pycodestyle>=2.11.0,<2.12.0"]
pydocstyle = ["pydocstyle>=6.3.0,<6.4.0"]
-pyflakes = ["pyflakes>=2.5.0,<3.1.0"]
+pyflakes = ["pyflakes>=3.1.0,<3.2.0"]
pylint = ["pylint>=2.5.0,<3"]
rope = ["rope>1.2.0"]
yapf = ["yapf>=0.33.0", "whatthepatch>=1.0.2,<2.0.0"]
--
2.33.8