aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdrian Herrmann <adrian.herrmann@qt.io>2022-07-21 17:16:25 +0200
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2022-10-26 07:34:33 +0000
commit93902aac42a417e1c3c5172220ebe81ba94e54fa (patch)
tree8b4c043cbb5f3fa4c17422ac44d2a867f4824607
parent55490099727578539c58d6b995ab49a9682fefc1 (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 Change-Id: Iefb635d0643ae58d25d4ccc3962e966953a21bd8 Reviewed-by: Christian Tismer <tismer@stackless.com> (cherry picked from commit 5055eface884271590464284d23ad55f117d0a5d) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-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
+}