diff --git a/CHANGELOG.md b/CHANGELOG.md index 2993da97..731fe292 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,22 @@ # History of changes +## Version 1.10.1 (2024/03/12) + +### Issues Closed + +* [Issue 529](https://github.com/python-lsp/python-lsp-server/issues/529) - Autoimports: sqlite3.OperationalError: database is locked ([PR 530](https://github.com/python-lsp/python-lsp-server/pull/530) by [@last-partizan](https://github.com/last-partizan)) + +In this release 1 issue was closed. + +### Pull Requests Merged + +* [PR 530](https://github.com/python-lsp/python-lsp-server/pull/530) - Fix progress reporting with autoimport plugin, by [@last-partizan](https://github.com/last-partizan) ([529](https://github.com/python-lsp/python-lsp-server/issues/529)) +* [PR 528](https://github.com/python-lsp/python-lsp-server/pull/528) - Improve error message about missing `websockets` module, by [@tomplus](https://github.com/tomplus) + +In this release 2 pull requests were closed. + +---- + ## Version 1.10.0 (2024/01/21) ### New features diff --git a/pylsp/_utils.py b/pylsp/_utils.py index e1d2b53c..0293ee32 100644 --- a/pylsp/_utils.py +++ b/pylsp/_utils.py @@ -175,8 +175,8 @@ def escape_plain_text(contents: str) -> str: """ Format plain text to display nicely in environments which do not respect whitespaces. """ - contents = contents.replace("\t", "\u00A0" * 4) - contents = contents.replace(" ", "\u00A0" * 2) + contents = contents.replace("\t", "\u00a0" * 4) + contents = contents.replace(" ", "\u00a0" * 2) return contents diff --git a/pylsp/plugins/flake8_lint.py b/pylsp/plugins/flake8_lint.py index eed673f7..47121018 100644 --- a/pylsp/plugins/flake8_lint.py +++ b/pylsp/plugins/flake8_lint.py @@ -2,6 +2,7 @@ # Copyright 2021- Python Language Server Contributors. """Linter pluging for flake8""" + import logging import os.path import re diff --git a/pylsp/plugins/pylint_lint.py b/pylsp/plugins/pylint_lint.py index 784627b1..beffe6f3 100644 --- a/pylsp/plugins/pylint_lint.py +++ b/pylsp/plugins/pylint_lint.py @@ -3,6 +3,7 @@ # Copyright 2021- Python Language Server Contributors. """Linter plugin for pylint.""" + import collections import logging import os diff --git a/pylsp/uris.py b/pylsp/uris.py index 45ad280b..cba5b290 100644 --- a/pylsp/uris.py +++ b/pylsp/uris.py @@ -5,6 +5,7 @@ https://github.com/Microsoft/vscode-uri/blob/e59cab84f5df6265aed18ae5f43552d3eef13bb9/lib/index.ts """ + import re from urllib import parse diff --git a/test/conftest.py b/test/conftest.py index 5c4ab8f1..a9010517 100644 --- a/test/conftest.py +++ b/test/conftest.py @@ -1,7 +1,8 @@ # Copyright 2017-2020 Palantir Technologies, Inc. # Copyright 2021- Python Language Server Contributors. -""" py.test configuration""" +"""pytest configuration""" + import logging from pylsp.__main__ import LOG_FORMAT