Skip to content

Commit 623767a

Browse files
committed
some python version corrections
1 parent bc3243a commit 623767a

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

mypy.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# File reference here - http://mypy.readthedocs.io/en/latest/config_file.html#config-file
33

44
[mypy]
5-
python_version = 3.9
5+
python_version = 3.8
66
plugins = pydantic.mypy
77
exclude = robotcode/external/|dist|node_modules
88
warn_redundant_casts = True

robotcode/debugger/__main__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ async def start_debugpy_async() -> None:
151151
loop = asyncio.new_event_loop()
152152

153153
thread = threading.Thread(name="RobotCode Debugger", target=run_server, args=(port, loop))
154-
thread.setDaemon(True)
154+
thread.daemon = True
155155
thread.start()
156156

157157
server = await wait_for_server()

vscode-client/debugmanager.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ class RobotCodeDebugAdapterDescriptorFactory implements vscode.DebugAdapterDescr
9797
): vscode.ProviderResult<vscode.DebugAdapterDescriptor> {
9898
const config = vscode.workspace.getConfiguration(CONFIG_SECTION, session.workspaceFolder);
9999

100-
const mode = config.get<string>("debugAdapter.mode", "stdio");
100+
const mode = config.get<string>("debugAdapter.mode");
101101

102102
switch (mode) {
103103
case "stdio": {

0 commit comments

Comments
 (0)