diff options
| author | Shyamnath Premnadh <Shyamnath.Premnadh@qt.io> | 2024-01-24 15:58:25 +0100 |
|---|---|---|
| committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2024-02-02 21:25:14 +0100 |
| commit | fec10bbbc097eff76a1f618f2791b3df1326594f (patch) | |
| tree | ac644bdf31a593cff567a9010b5b9cf7cf9c9ee0 /sources/pyside-tools/deploy_lib/android/android_helper.py | |
| parent | f6538d29fbd7d216ce00cdc2870c3a1055a24d26 (diff) | |
PySide Tools: Fix flake8 warnings
- Fix general flake8 warnings in pyside-tools.
- add F401 to .flake8 to ignore unused imports from __init__.py files
- add E402 from __init__.py to prevent errors related to partial
initialization of modules.
Pick-to: 6.6 6.5
Change-Id: Ia848b08ff6f0d2808e04f6a83c46636e2d167c02
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'sources/pyside-tools/deploy_lib/android/android_helper.py')
| -rw-r--r-- | sources/pyside-tools/deploy_lib/android/android_helper.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/pyside-tools/deploy_lib/android/android_helper.py b/sources/pyside-tools/deploy_lib/android/android_helper.py index 2299eab25..230343647 100644 --- a/sources/pyside-tools/deploy_lib/android/android_helper.py +++ b/sources/pyside-tools/deploy_lib/android/android_helper.py @@ -39,7 +39,7 @@ def create_recipe(version: str, component: str, wheel_path: str, generated_files qt_local_libs = [] if local_libs: - qt_local_libs = [local_lib for local_lib in local_libs if local_lib.startswith("Qt6") ] + qt_local_libs = [local_lib for local_lib in local_libs if local_lib.startswith("Qt6")] rcp_tmpl_path = Path(__file__).parent / "recipes" / f"{component}" environment = Environment(loader=FileSystemLoader(rcp_tmpl_path)) |
