repo_setup: fix documentation generation
authorArnaud Ferraris <arnaud.ferraris@collabora.com>
Wed, 24 Mar 2021 14:58:20 +0000 (15:58 +0100)
committerGuido Günther <agx@sigxcpu.org>
Wed, 24 Mar 2021 15:42:04 +0000 (16:42 +0100)
docstring format for bullet lists requires a leading dash. This fix
prevents build failures when running `make docs`.

Signed-off-by: Arnaud Ferraris <arnaud.ferraris@collabora.com>
gbp/scripts/common/repo_setup.py

index 50e9cbf19bd6001cd2d3873d64218fff584c085b..9bc348f1f82b6fa7b78c0eef0fc68efca32a396d 100644 (file)
@@ -61,10 +61,10 @@ attr_glob_defns = {
 def is_gitattributes_set_up(repo) -> bool:
     """
     Return True if git attributes have been set up correctly:
-        * dgit-defuse-attrs macro exists
-        * dgit-defuse-attrs includes attributes we’re interested in
-        * dgit-defuse-attrs is enabled for *
-        * export-subst and export-ignore are unset for *
+        - dgit-defuse-attrs macro exists
+        - dgit-defuse-attrs includes attributes we’re interested in
+        - dgit-defuse-attrs is enabled for *
+        - export-subst and export-ignore are unset for *
     """
     gitattrs = Path(repo.git_dir) / 'info' / 'attributes'
     if not gitattrs.exists():