[glib/ebassi/fix-python-style-check] ci: Conform to Python's coding style
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib/ebassi/fix-python-style-check] ci: Conform to Python's coding style
- Date: Sun, 25 Sep 2022 17:27:50 +0000 (UTC)
commit 32eeca4481162356696d1fa76fd39dc8a93d1413
Author: Emmanuele Bassi <ebassi gnome org>
Date: Sun Sep 25 18:26:31 2022 +0100
ci: Conform to Python's coding style
The check-missing-install-tag.py script breaks PEP8, and the style check
CI job complains about it.
.gitlab-ci/check-missing-install-tag.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/.gitlab-ci/check-missing-install-tag.py b/.gitlab-ci/check-missing-install-tag.py
index 7081bc7465..75da442a92 100755
--- a/.gitlab-ci/check-missing-install-tag.py
+++ b/.gitlab-ci/check-missing-install-tag.py
@@ -8,6 +8,7 @@ missing installation tag.
import argparse
from pathlib import Path
+
def main():
parser = argparse.ArgumentParser()
parser.add_argument('builddir', type=Path)
@@ -16,7 +17,7 @@ def main():
logfile = args.builddir / 'meson-logs' / 'meson-log.txt'
with logfile.open(encoding='utf-8') as f:
if 'Failed to guess install tag' in f.read():
- print(f'Some files are missing install_tag, see {logfile} for details.')
+ print(f'Some files are missing install_tag, see {logfile} for details.') # noqa
return 1
return 0
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]