[gi-docgen/ci-fixes: 2/2] flake8: Fix long lines




commit 579c29155f7acd611c6e68a24dd81c1df497b988
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Mon Aug 9 19:02:57 2021 +0100

    flake8: Fix long lines

 gidocgen/gdgendeps.py    | 3 ++-
 gidocgen/gdgenerate.py   | 6 ++++--
 gidocgen/gdgenindices.py | 3 ++-
 3 files changed, 8 insertions(+), 4 deletions(-)
---
diff --git a/gidocgen/gdgendeps.py b/gidocgen/gdgendeps.py
index f7b1cb0..c6186a1 100644
--- a/gidocgen/gdgendeps.py
+++ b/gidocgen/gdgendeps.py
@@ -59,7 +59,8 @@ def add_args(parser):
     parser.add_argument("--add-include-path", action="append", dest="include_paths", default=[],
                         help="include paths for other GIR files")
     parser.add_argument("-C", "--config", metavar="FILE", help="the configuration file")
-    parser.add_argument("--content-dir", action="append", dest="content_dirs", default=[], help="the base 
directories with the extra content")
+    parser.add_argument("--content-dir", action="append", dest="content_dirs", default=[],
+                        help="the base directories with the extra content")
     parser.add_argument("--dry-run", action="store_true", help="parses the GIR file without generating 
files")
     parser.add_argument("infile", metavar="GIRFILE", type=argparse.FileType('r', encoding='UTF-8'),
                         default=sys.stdin, help="the GIR file to parse")
diff --git a/gidocgen/gdgenerate.py b/gidocgen/gdgenerate.py
index 0c496c1..7812680 100644
--- a/gidocgen/gdgenerate.py
+++ b/gidocgen/gdgenerate.py
@@ -2787,10 +2787,12 @@ def add_args(parser):
     parser.add_argument("-C", "--config", metavar="FILE", help="the configuration file")
     parser.add_argument("--dry-run", action="store_true", help="parses the GIR file without generating 
files")
     parser.add_argument("--templates-dir", default=None, help="the base directory with the theme templates")
-    parser.add_argument("--content-dir", action="append", dest="content_dirs", default=[], help="the base 
directories with the extra content")
+    parser.add_argument("--content-dir", action="append", dest="content_dirs", default=[],
+                        help="the base directories with the extra content")
     parser.add_argument("--theme-name", default="basic", help="the theme to use")
     parser.add_argument("--output-dir", default=None, help="the output directory for the index files")
-    parser.add_argument("--no-namespace-dir", action="store_true", help="do not create a namespace directory 
under the output directory")
+    parser.add_argument("--no-namespace-dir", action="store_true",
+                        help="do not create a namespace directory under the output directory")
     parser.add_argument("--section", action="append", dest="sections", default=[], help="the sections to 
generate, or 'all'")
     parser.add_argument("infile", metavar="GIRFILE", type=argparse.FileType('r', encoding='UTF-8'),
                         default=sys.stdin, help="the GIR file to parse")
diff --git a/gidocgen/gdgenindices.py b/gidocgen/gdgenindices.py
index 421ef36..4c970fc 100644
--- a/gidocgen/gdgenindices.py
+++ b/gidocgen/gdgenindices.py
@@ -762,7 +762,8 @@ def add_args(parser):
     parser.add_argument("--add-include-path", action="append", dest="include_paths", default=[],
                         help="include paths for other GIR files")
     parser.add_argument("-C", "--config", metavar="FILE", help="the configuration file")
-    parser.add_argument("--content-dir", action="append", dest="content_dirs", default=[], help="the base 
directories with the extra content")
+    parser.add_argument("--content-dir", action="append", dest="content_dirs", default=[],
+                        help="the base directories with the extra content")
     parser.add_argument("--dry-run", action="store_true", help="parses the GIR file without generating 
files")
     parser.add_argument("--output-dir", default=None, help="the output directory for the index files")
     parser.add_argument("infile", metavar="GIRFILE", type=argparse.FileType('r', encoding='UTF-8'),


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]