Skip to content

Commit

Permalink
Fix Flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
AA-Turner committed Jul 30, 2024
1 parent d0915ab commit 006a6a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sphinx/highlighting.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]

Expand Down

0 comments on commit 006a6a7

Please sign in to comment.