diff options
| author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2024-10-02 14:42:21 +0200 |
|---|---|---|
| committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2024-10-02 16:12:57 +0200 |
| commit | 604591ee13e39c4d9953fb56322ca85bdaf01e74 (patch) | |
| tree | d172b6507319aa73822bcc2971efda7d2f228641 /tools/snippets_translate/override.py | |
| parent | c512b506b565578770c671b11afb78427ca8d012 (diff) | |
snippets_translate: Fix flake8-warnings
Change-Id: I91f211639846bb119d696244060f3013c52e59ed
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
Diffstat (limited to 'tools/snippets_translate/override.py')
| -rw-r--r-- | tools/snippets_translate/override.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tools/snippets_translate/override.py b/tools/snippets_translate/override.py index c8f3d85d8..eab3f178e 100644 --- a/tools/snippets_translate/override.py +++ b/tools/snippets_translate/override.py @@ -80,33 +80,33 @@ def python_example_snippet_mapping(): / "stringlistmodel.py") for i in range(10): snippet_id = str(i) - result[(qt_path, snippet_id)] = pyside_path, snippet_id + result[(qt_path, snippet_id)] = pyside_path, snippet_id qt_path = "qtbase/src/widgets/doc/snippets/qlistview-dnd/model.cpp" pyside_path = (TUTORIAL_EXAMPLES_PATH / "modelviewprogramming" / "qlistview-dnd.py") for i in range(11): snippet_id = str(i) - result[(qt_path, snippet_id)] = pyside_path, snippet_id + result[(qt_path, snippet_id)] = pyside_path, snippet_id qt_path = "qtconnectivity/examples/bluetooth/heartrate_game/devicefinder.cpp" pyside_path = EXAMPLES_PATH / "bluetooth" / "heartrate_game" / "devicefinder.py" for i in range(5): snippet_id = f"devicediscovery-{i}" - result[(qt_path, snippet_id)] = pyside_path, snippet_id + result[(qt_path, snippet_id)] = pyside_path, snippet_id qt_path = "qtconnectivity/examples/bluetooth/heartrate_game/devicehandler.cpp" pyside_path = EXAMPLES_PATH / "bluetooth" / "heartrate_game" / "devicehandler.py" for snippet_id in ["Connect-Signals-1", "Connect-Signals-2", "Filter HeartRate service 2", "Find HRM characteristic", "Reading value"]: - result[(qt_path, snippet_id)] = pyside_path, snippet_id + result[(qt_path, snippet_id)] = pyside_path, snippet_id qt_path = "qtconnectivity/examples/bluetooth/heartrate_server/main.cpp" pyside_path = EXAMPLES_PATH / "bluetooth" / "heartrate_server" / "heartrate_server.py" for snippet_id in ["Advertising Data", "Start Advertising", "Service Data", "Provide Heartbeat"]: - result[(qt_path, snippet_id)] = pyside_path, snippet_id + result[(qt_path, snippet_id)] = pyside_path, snippet_id _python_example_snippet_mapping = result |
