From d4272d9ff4854aa4262a88037e2b263b30e80970 Mon Sep 17 00:00:00 2001 From: Mike Prosser Date: Thu, 1 May 2025 13:16:30 -0500 Subject: [PATCH 1/4] update vscode settings to match best practices --- .vscode/settings.json | 23 +++++++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index 3e99ede..9bf92d2 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,7 +1,26 @@ { "python.testing.pytestArgs": [ - "." + "--no-cov" ], "python.testing.unittestEnabled": false, - "python.testing.pytestEnabled": true + "python.testing.pytestEnabled": true, + "debug.allowBreakpointsEverywhere": true, + "isort.interpreter": [ + "C:\\Users\\\\.pyenv\\pyenv-win\\versions\\\\python.exe" + ], + "flake8.path": [ + "ni-python-styleguide", + "lint" + ], + "python.analysis.includeAliasesFromUserFiles": true, + "black-formatter.args": [ + "--line-length", + "100" + ], + "editor.formatOnSave": true, + "[python]": { + "editor.rulers": [ + 100 + ] + } } \ No newline at end of file From 1057c1d51417bcc124ea8ca45219e8bce9875465 Mon Sep 17 00:00:00 2001 From: Mike Prosser Date: Thu, 1 May 2025 13:22:01 -0500 Subject: [PATCH 2/4] remove isort config, since it's user specific --- .vscode/settings.json | 3 --- 1 file changed, 3 deletions(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index 9bf92d2..24c7947 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -5,9 +5,6 @@ "python.testing.unittestEnabled": false, "python.testing.pytestEnabled": true, "debug.allowBreakpointsEverywhere": true, - "isort.interpreter": [ - "C:\\Users\\\\.pyenv\\pyenv-win\\versions\\\\python.exe" - ], "flake8.path": [ "ni-python-styleguide", "lint" From 0a0e2b892112046151d8436f013cade4fc7caf3e Mon Sep 17 00:00:00 2001 From: Mike Prosser Date: Thu, 1 May 2025 14:03:10 -0500 Subject: [PATCH 3/4] revert --no-cov --- .vscode/settings.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index 24c7947..b7d0ada 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,6 +1,6 @@ { "python.testing.pytestArgs": [ - "--no-cov" + "." ], "python.testing.unittestEnabled": false, "python.testing.pytestEnabled": true, From 45f85af82286c31ba91b9242fc329ae5569d8b59 Mon Sep 17 00:00:00 2001 From: Mike Prosser Date: Fri, 2 May 2025 09:12:55 -0500 Subject: [PATCH 4/4] remove "." from pytestArgs --- .vscode/settings.json | 3 --- 1 file changed, 3 deletions(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index b7d0ada..997f825 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,7 +1,4 @@ { - "python.testing.pytestArgs": [ - "." - ], "python.testing.unittestEnabled": false, "python.testing.pytestEnabled": true, "debug.allowBreakpointsEverywhere": true,