From 23f8c40a2855e7ef153e531eb879064d23415fc3 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 15 Apr 2024 22:54:08 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- docs/extensions/check_events.py | 1 + docs/extensions/legacy_redirects.py | 1 + docs/extensions/selective_css.py | 1 + 3 files changed, 3 insertions(+) diff --git a/docs/extensions/check_events.py b/docs/extensions/check_events.py index 550f7a5..1ee1c69 100644 --- a/docs/extensions/check_events.py +++ b/docs/extensions/check_events.py @@ -1,4 +1,5 @@ """Check events.yaml and blog posts are consistent.""" + from __future__ import annotations from pathlib import Path diff --git a/docs/extensions/legacy_redirects.py b/docs/extensions/legacy_redirects.py index 4ba5428..9dbc74c 100644 --- a/docs/extensions/legacy_redirects.py +++ b/docs/extensions/legacy_redirects.py @@ -3,6 +3,7 @@ The logic works similar to sphinx.rediraffe, but handles adding index.html for end-points. """ + import json from os.path import relpath from pathlib import Path diff --git a/docs/extensions/selective_css.py b/docs/extensions/selective_css.py index c6a9a2d..bae5c6d 100644 --- a/docs/extensions/selective_css.py +++ b/docs/extensions/selective_css.py @@ -1,4 +1,5 @@ """Add CSS selectively to pages""" + from sphinx.application import Sphinx