Add support for pyflakes 3.1 and pycodestyle 2.11#415
Add support for pyflakes 3.1 and pycodestyle 2.11#415ccordoba12 merged 1 commit intopython-lsp:developfrom yan12125:pyflakes-3.1
Conversation
|
Forgot to mention - the lower bound for pyflakes is bumped to 3.1.0 as flake8 6.1.0 already requires that version, as described in flake8 release notes. |
ccordoba12
left a comment
There was a problem hiding this comment.
Thanks @yan12125 for your help with this! We also need to bump our supported pycodestyle version, according to:
|
Good point, thanks!
(https://github.com/python-lsp/python-lsp-server/actions/runs/5839448515/job/15843654307) New flake8 requires Python 3.8 [1]. Is it better to drop Python 3.7 from python-lsp-server or install older dependencies for older Python? [1] https://flake8.pycqa.org/en/latest/release-notes/6.0.0.html |
Right. I already did that in pull request #417. So, please rebase your pull request or merge with the latest master to get the changes. Then, your pull request should pass. |
`ContinueInFinally` is dropped in pyflakes 3.1 [1]. flake8 is bumped to a version that supports pyflakes 3.1 [2]. pyflakes is also bumped to have the same version range as flake8 [2] (thanks ccordoba12 for the notice). Closes #412 [1] PyCQA/pyflakes#752 [2] https://flake8.pycqa.org/en/latest/release-notes/6.1.0.html Co-authored-by: Carlos Cordoba <ccordoba12@gmail.com>
Thank you! Rebased and squashed. |
ccordoba12
left a comment
There was a problem hiding this comment.
Thanks @yan12125 for your help with this!
ContinueInFinallyis dropped in pyflakes 3.1 [1].flake8 is bumped to a version that supports pyflakes 3.1 [2].
Closes #412
[1] PyCQA/pyflakes#752
[2] https://flake8.pycqa.org/en/latest/release-notes/6.1.0.html