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