aboutsummaryrefslogtreecommitdiffstats
path: root/.vscode
diff options
context:
space:
mode:
authorAdrian Herrmann <adrian.herrmann@qt.io>2022-07-21 17:16:25 +0200
committerAdrian Herrmann <adrian.herrmann@qt.io>2022-10-25 19:27:01 +0000
commit5055eface884271590464284d23ad55f117d0a5d (patch)
treeee32d5b7769f02bc25efb8dc75ffef7a2df784f5 /.vscode
parent20da1ca4bc31bae9433df7d461f31238bf17bed1 (diff)
Add basic VS Code configuration
Add a settings.json for VS Code with a basic configuration helpful for developing for/with PySide on VS Code. This includes editor rulers and settings to configure automatic unit test discovery. Task-number: PYSIDE-2000 Pick-to: 6.3 6.4 Change-Id: Iefb635d0643ae58d25d4ccc3962e966953a21bd8 Reviewed-by: Christian Tismer <tismer@stackless.com>
Diffstat (limited to '.vscode')
-rw-r--r--.vscode/settings.json16
1 files changed, 16 insertions, 0 deletions
diff --git a/.vscode/settings.json b/.vscode/settings.json
new file mode 100644
index 000000000..57f2286da
--- /dev/null
+++ b/.vscode/settings.json
@@ -0,0 +1,16 @@
+{
+ "editor.rulers": [
+ 72, // comments and docstrings
+ 79, // desirable code length
+ 100 // maximum code length
+ ],
+ "python.testing.unittestArgs": [
+ "-v",
+ "-s",
+ "./sources/pyside6/tests",
+ "-p",
+ "*_test.py"
+ ],
+ "python.testing.pytestEnabled": false,
+ "python.testing.unittestEnabled": true
+}