diff --git a/pyproject.toml b/pyproject.toml index c1887e7..42c46cc 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -15,7 +15,7 @@ maintainers = [ requires-python = ">=3.7" license = "MIT" dependencies = [ - "ruff-lsp==0.0.23", + "ruff-lsp==0.0.24", "ruff==0.0.259", ] diff --git a/requirements-dev.txt b/requirements-dev.txt index 8915a19..ddfee21 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -88,9 +88,9 @@ pathspec==0.11.1 \ --hash=sha256:2798de800fa92780e33acca925945e9a19a133b715067cf165b8866c15a31687 \ --hash=sha256:d8af70af76652554bd134c22b3e8a1cc46ed7d91edcdd721ef1a0c51a84a5293 # via black -platformdirs==3.1.1 \ - --hash=sha256:024996549ee88ec1a9aa99ff7f8fc819bb59e2c3477b410d90a16d32d6e707aa \ - --hash=sha256:e5986afb596e4bb5bde29a79ac9061aa955b94fca2399b7aaac4090860920dd8 +platformdirs==3.2.0 \ + --hash=sha256:d5b638ca397f25f979350ff789db335903d7ea010ab28903f57b27e1b16c2b08 \ + --hash=sha256:ebe11c0d7a805086e99506aa331612429a72ca7cd52a1f0d277dc4adc20cb10e # via black pygls==1.0.1 \ --hash=sha256:adacc96da77598c70f46acfdfd1481d3da90cd54f639f7eee52eb6e4dbd57b55 \ @@ -121,9 +121,9 @@ ruff==0.0.259 \ # via # ruff-lsp # ruff-vscode (./pyproject.toml) -ruff-lsp==0.0.23 \ - --hash=sha256:4fe86c117c16fb828471a00ab6da4b219bc5b7d93b78b3053e263614e415e0bf \ - --hash=sha256:e3b87adf9fc70ccb26f973a8d8b2b748b04bdc11f54ef5b3a2c115f48c3f9a45 +ruff-lsp==0.0.24 \ + --hash=sha256:71207b0a64f40577db3e9aef0b1331fcf4122f9b98bba66b905d41706d639e65 \ + --hash=sha256:d617bf19893c3bd2ea3d71f79aeede196b91ca08831b53a727e24d4f63f29f3a # via ruff-vscode (./pyproject.toml) tomli==2.0.1 \ --hash=sha256:939de3e7a6161af0c887ef91b7d41a53e7c5a1ca976325f429cb46ea9bc30ecc \ diff --git a/requirements.txt b/requirements.txt index 87c3aba..e21fab3 100644 --- a/requirements.txt +++ b/requirements.txt @@ -49,9 +49,9 @@ ruff==0.0.259 \ # via # ruff-lsp # ruff-vscode (./pyproject.toml) -ruff-lsp==0.0.23 \ - --hash=sha256:4fe86c117c16fb828471a00ab6da4b219bc5b7d93b78b3053e263614e415e0bf \ - --hash=sha256:e3b87adf9fc70ccb26f973a8d8b2b748b04bdc11f54ef5b3a2c115f48c3f9a45 +ruff-lsp==0.0.24 \ + --hash=sha256:71207b0a64f40577db3e9aef0b1331fcf4122f9b98bba66b905d41706d639e65 \ + --hash=sha256:d617bf19893c3bd2ea3d71f79aeede196b91ca08831b53a727e24d4f63f29f3a # via ruff-vscode (./pyproject.toml) typeguard==2.13.3 \ --hash=sha256:00edaa8da3a133674796cf5ea87d9f4b4c367d77476e185e80251cc13dfbb8c4 \ diff --git a/tests/test_server.py b/tests/test_server.py index 7b5b589..ce24950 100644 --- a/tests/test_server.py +++ b/tests/test_server.py @@ -66,10 +66,14 @@ def _handler(params): }, "data": { "fix": { - "content": "", "message": "Remove unused import: `sys`", - "location": {"row": 1, "column": 0}, - "end_location": {"row": 2, "column": 0}, + "edits": [ + { + "content": "", + "location": {"row": 1, "column": 0}, + "end_location": {"row": 2, "column": 0}, + } + ], }, "noqa_row": 1, }, @@ -148,10 +152,14 @@ def _handler(params): }, "data": { "fix": { - "content": "", "message": "Remove unused import: `sys`", - "location": {"row": 1, "column": 0}, - "end_location": {"row": 2, "column": 0}, + "edits": [ + { + "content": "", + "location": {"row": 1, "column": 0}, + "end_location": {"row": 2, "column": 0}, + } + ], }, "noqa_row": 1, },