scipp / copier_template

Copier template for Scipp projects
BSD 3-Clause "New" or "Revised" License
2 stars 1 forks source link

External links in docs conf is badly formatted #134

Closed nvaytet closed 7 months ago

nvaytet commented 7 months ago

In a completely fresh repo, the external_links fail black formatting with:

diff --git a/docs/conf.py b/docs/conf.py
index badc050..52c1835 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -32,6 +32,7 @@ extensions = [
 ]
 try:
     import sciline.sphinxext.domain_types  # noqa: F401
+
     extensions.append('sciline.sphinxext.domain_types')
 except ModuleNotFoundError:
     pass
@@ -150,11 +151,11 @@ html_theme_options = {
     },
     "external_links": [
         {"name": "ESSdiffraction", "url": "https://scipp.github.io/essdiffraction"},
-    {"name": "ESSimaging", "url": "https://scipp.github.io/essimaging"},
-    {"name": "ESSnmx", "url": "https://scipp.github.io/essnmx"},
-    {"name": "ESSreflectometry", "url": "https://scipp.github.io/essreflectometry"},
-    {"name": "ESSsans", "url": "https://scipp.github.io/esssans"},
-    {"name": "ESSspectroscopy", "url": "https://scipp.github.io/essspectroscopy"},
+        {"name": "ESSimaging", "url": "https://scipp.github.io/essimaging"},
+        {"name": "ESSnmx", "url": "https://scipp.github.io/essnmx"},
+        {"name": "ESSreflectometry", "url": "https://scipp.github.io/essreflectometry"},
+        {"name": "ESSsans", "url": "https://scipp.github.io/esssans"},
+        {"name": "ESSspectroscopy", "url": "https://scipp.github.io/essspectroscopy"},
     ],
     "icon_links": [
         {