From 1356b07498aca068cda106ae91f9d46ea82afa11 Mon Sep 17 00:00:00 2001 From: sciencewhiz Date: Sat, 22 Jun 2024 18:10:36 -0700 Subject: [PATCH] Reformat with black 24 (#123) --- docs/script/generate_social_card_previews.py | 1 + noxfile.py | 1 + sphinxext/opengraph/socialcards.py | 1 + 3 files changed, 3 insertions(+) diff --git a/docs/script/generate_social_card_previews.py b/docs/script/generate_social_card_previews.py index eb68686..9d141c0 100644 --- a/docs/script/generate_social_card_previews.py +++ b/docs/script/generate_social_card_previews.py @@ -2,6 +2,7 @@ A helper script to test out what social previews look like. I should remove this when I'm happy with the result. """ + # %load_ext autoreload # %autoreload 2 diff --git a/noxfile.py b/noxfile.py index 59faada..f06b6d1 100644 --- a/noxfile.py +++ b/noxfile.py @@ -10,6 +10,7 @@ ref: https://nox.thea.codes/ """ + import nox from shlex import split diff --git a/sphinxext/opengraph/socialcards.py b/sphinxext/opengraph/socialcards.py index 1bbafdc..abf5ba0 100644 --- a/sphinxext/opengraph/socialcards.py +++ b/sphinxext/opengraph/socialcards.py @@ -1,4 +1,5 @@ """Build a PNG card for each page meant for social media.""" + import hashlib from pathlib import Path import matplotlib