aboutsummaryrefslogtreecommitdiffstats
path: root/tools/snippets_translate/snippets_translate.pyproject
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2022-08-08 15:07:12 +0200
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2022-08-11 09:12:56 +0200
commitc4a266e38fe5bdce707ad6b123fa88bb4f10dff3 (patch)
treea7cc96a47dec82f5b11093ad9837cc221b8c6c8e /tools/snippets_translate/snippets_translate.pyproject
parent89e5d35c0f002fcb1aac3b1205402ce306074255 (diff)
snippets_translate: Add a way of using snippets from Python
Split a helper off the snippet extraction function taking the comment pattern and let it return a dict by id to make it possible to replace snippets by id. Prototypically use it for the modelview tutorial. Fixes: PYSIDE-1984 Task-number: PYSIDE-1952 Pick-to: 6.3 6.2 Change-Id: I05dbc3e36825761fe2968d6507880cd6f588682d Reviewed-by: Christian Tismer <tismer@stackless.com>
Diffstat (limited to 'tools/snippets_translate/snippets_translate.pyproject')
-rw-r--r--tools/snippets_translate/snippets_translate.pyproject2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/snippets_translate/snippets_translate.pyproject b/tools/snippets_translate/snippets_translate.pyproject
index 8016eb637..6073e9b89 100644
--- a/tools/snippets_translate/snippets_translate.pyproject
+++ b/tools/snippets_translate/snippets_translate.pyproject
@@ -1,3 +1,3 @@
{
- "files": ["main.py", "converter.py", "handlers.py", "tests/test_converter.py"]
+ "files": ["main.py", "converter.py", "handlers.py", "override.py", "tests/test_converter.py"]
}