aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken6/doc/scripts/patch_qhp.py
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2025-02-13 12:41:24 +0100
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2025-02-13 16:54:23 +0100
commitf9736b9c50f69f2c7089d7dd9dccec8284577323 (patch)
tree3ddbe3e2ba4314734c8edbc13c939b4f76ac4c36 /sources/shiboken6/doc/scripts/patch_qhp.py
parent315a7c85a4831c8f9025465fa2e799c2f12a4cd0 (diff)
Fix flake8 warnings in shiboken6 scripts
Pick-to: 6.8 Task-number: PYSIDE-3010 Change-Id: I2897848ba9001fe996047dbb88ec83c51834b0a8 Reviewed-by: Ece Cinucen <ece.cinucen@qt.io> Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Diffstat (limited to 'sources/shiboken6/doc/scripts/patch_qhp.py')
-rw-r--r--sources/shiboken6/doc/scripts/patch_qhp.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/sources/shiboken6/doc/scripts/patch_qhp.py b/sources/shiboken6/doc/scripts/patch_qhp.py
index 88befaa2d..6e19f1a5e 100644
--- a/sources/shiboken6/doc/scripts/patch_qhp.py
+++ b/sources/shiboken6/doc/scripts/patch_qhp.py
@@ -8,7 +8,7 @@ import sys
from argparse import ArgumentParser, RawTextHelpFormatter
-DESC="""Qhp file updater
+DESC = """Qhp file updater
Replaces virtual folder ids in .qhp files preparing for
registering the documentation in Qt Assistant."""
@@ -49,7 +49,7 @@ if __name__ == '__main__':
help='String to be injected into the Qhp file.')
arg_parser.add_argument("--pyside", "-p", action="store_true",
help="Strip the PySide module path off the index entries.")
- arg_parser.add_argument("file", type=str, help='Qhp filename.')
+ arg_parser.add_argument("file", type=str, help='Qhp filename.')
options = arg_parser.parse_args()
virtual_folder = options.vfolder
strip_pyside_module = options.pyside