Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion bundled/tool/lsp_jsonrpc.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
# Licensed under the MIT License.
"""Light-weight JSON-RPC over standard IO."""


import atexit
import contextlib
import io
Expand Down
1 change: 1 addition & 0 deletions bundled/tool/lsp_server.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License.
"""Implementation of tool support over LSP."""

from __future__ import annotations

import copy
Expand Down
1 change: 1 addition & 0 deletions bundled/tool/lsp_utils.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License.
"""Utility functions and classes for use with running tools over LSP."""

from __future__ import annotations

import contextlib
Expand Down
6 changes: 3 additions & 3 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ attrs==25.4.0 \
# jschema-to-python
# lsprotocol
# sarif-om
bandit[sarif]==1.9.2 \
--hash=sha256:32410415cd93bf9c8b91972159d5cf1e7f063a9146d70345641cd3877de348ce \
--hash=sha256:bda8d68610fc33a6e10b7a8f1d61d92c8f6c004051d5e946406be1fb1b16a868
bandit[sarif]==1.9.3 \
--hash=sha256:4745917c88d2246def79748bde5e08b9d5e9b92f877863d43fab70cd8814ce6a \
--hash=sha256:ade4b9b7786f89ef6fc7344a52b34558caec5da74cb90373aed01de88472f774
# via -r requirements.in
cattrs==25.3.0 \
--hash=sha256:1ac88d9e5eda10436c4517e390a4142d88638fe682c436c93db7ce4a277b884a \
Expand Down
1 change: 1 addition & 0 deletions src/test/python_tests/lsp_test_client/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"""
Constants for use with tests.
"""

import pathlib

TEST_ROOT = pathlib.Path(__file__).parent.parent
Expand Down
1 change: 1 addition & 0 deletions src/test/python_tests/lsp_test_client/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"""
Utility functions for use with tests.
"""

import json
import os
import pathlib
Expand Down
2 changes: 1 addition & 1 deletion src/test/python_tests/test_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def _handler(params):
"severity": 1,
"code": "B324:hashlib",
"codeDescription": {
"href": "https://bandit.readthedocs.io/en/1.9.2/plugins/b324_hashlib.html"
"href": "https://bandit.readthedocs.io/en/1.9.3/plugins/b324_hashlib.html"
},
"source": SERVER_INFO["name"],
},
Expand Down