From 6e14356a1359e16ba1b4b4d37a25bdd448106712 Mon Sep 17 00:00:00 2001 From: Tom Alexander Date: Sun, 30 Nov 2025 19:17:49 -0500 Subject: [PATCH] Enable type-checking by default in vscode for python. --- ansible/roles/bhyve/files/bhyverc.bash | 3 ++- ansible/roles/firefox/defaults/main.yaml | 1 - ansible/roles/vscode/files/settings.json | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/ansible/roles/bhyve/files/bhyverc.bash b/ansible/roles/bhyve/files/bhyverc.bash index f2e4c99..e76ffe8 100644 --- a/ansible/roles/bhyve/files/bhyverc.bash +++ b/ansible/roles/bhyve/files/bhyverc.bash @@ -266,12 +266,13 @@ function start_body { local name="$1" local zfs_path="zdata/vm/$name" local mount_path="/vm/$name" - local mount_cd="$CD" if [ -e "${mount_path}/settings" ]; then source "${mount_path}/settings" fi + local mount_cd="$CD" + local host_interface_name="$INTERFACE_NAME" # for raw, external interface local bridge_name="$BRIDGE_NAME" local ip_range="$IP_RANGE" # for raw this value does not matter diff --git a/ansible/roles/firefox/defaults/main.yaml b/ansible/roles/firefox/defaults/main.yaml index 2862075..45864ad 100644 --- a/ansible/roles/firefox/defaults/main.yaml +++ b/ansible/roles/firefox/defaults/main.yaml @@ -7,7 +7,6 @@ firefox_config: dom.security.https_only_mode_ever_enabled: true extensions.activeThemeID: "firefox-compact-dark@mozilla.org" # Disable ads - extensions.pocket.enabled: false browser.newtabpage.activity-stream.showSponsored: false browser.newtabpage.activity-stream.showSponsoredTopSites: false browser.newtabpage.activity-stream.feeds.section.topstories: false diff --git a/ansible/roles/vscode/files/settings.json b/ansible/roles/vscode/files/settings.json index f2276d7..8c0693d 100644 --- a/ansible/roles/vscode/files/settings.json +++ b/ansible/roles/vscode/files/settings.json @@ -52,5 +52,6 @@ "workbench.secondarySideBar.defaultVisibility": "hidden", "editor.autoClosingBrackets": "never", "editor.autoSurround": "never", - "workbench.editor.navigationScope": "editorGroup" + "workbench.editor.navigationScope": "editorGroup", + "python.analysis.typeCheckingMode": "standard" }