diff --git a/.ruff.toml b/.ruff.toml index 6a36a4c82..105c64969 100644 --- a/.ruff.toml +++ b/.ruff.toml @@ -13,9 +13,6 @@ extend-exclude = [ [format] preview = true quote-style = "single" -exclude = [ - "sphinx/builders/latex/constants.py" -] [lint] preview = true diff --git a/sphinx/builders/latex/constants.py b/sphinx/builders/latex/constants.py index 9ead9377b..2f99ae6bb 100644 --- a/sphinx/builders/latex/constants.py +++ b/sphinx/builders/latex/constants.py @@ -117,7 +117,7 @@ DEFAULT_SETTINGS: dict[str, Any] = { 'figure_align': 'htbp', 'tocdepth': '', 'secnumdepth': '', -} +} # fmt: skip ADDITIONAL_SETTINGS: dict[Any, dict[str, Any]] = { 'pdflatex': { @@ -204,7 +204,7 @@ ADDITIONAL_SETTINGS: dict[Any, dict[str, Any]] = { ('xelatex', 'el'): { 'fontpkg': XELATEX_GREEK_DEFAULT_FONTPKG, }, -} +} # fmt: skip SHORTHANDOFF = r"""