Skip to content

Commit 0a1fd3d

Browse files
fix linting
1 parent ed4d4ac commit 0a1fd3d

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

codeflash/lsp/server_entry.py

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
1-
"""This script is the dedicated entry point for the Codeflash Language Server.
2-
It initializes the server and redirects its logs to stderr so that the
3-
VS Code client can display them in the output channel.
1+
# This script is the dedicated entry point for the Codeflash Language Server.
2+
# It initializes the server and redirects its logs to stderr so that the
3+
# VS Code client can display them in the output channel.
44

5-
This script is run by the VS Code extension and is not intended to be
6-
executed directly by users.
7-
"""
5+
# This script is run by the VS Code extension and is not intended to be
6+
# executed directly by users.
87

98
import logging
109
import sys
@@ -13,7 +12,7 @@
1312

1413

1514
# Configure logging to stderr for VS Code output channel
16-
def setup_logging():
15+
def setup_logging() -> logging.Logger:
1716
# Clear any existing handlers to prevent conflicts
1817
root_logger = logging.getLogger()
1918
root_logger.handlers.clear()

0 commit comments

Comments
 (0)