From 006a6a7fcf680bed229dbb58bdda1af06dd68d87 Mon Sep 17 00:00:00 2001 From: Adam Turner <9087854+aa-turner@users.noreply.github.com> Date: Tue, 30 Jul 2024 01:14:53 +0100 Subject: [PATCH] Fix Flake8 --- sphinx/highlighting.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sphinx/highlighting.py b/sphinx/highlighting.py index 76b657acee6..bb2687a2bc8 100644 --- a/sphinx/highlighting.py +++ b/sphinx/highlighting.py @@ -32,7 +32,7 @@ from pygments.style import Style if tuple(map(int, pygments.__version__.split('.')))[:2] < (2, 18): - from pygments.formatter import Formatter + from pygments.formatter import Formatter # NoQA: F811 Formatter.__class_getitem__ = lambda cls, name: cls # type: ignore[attr-defined]