summaryrefslogtreecommitdiff
path: root/sphinx/transforms
diff options
context:
space:
mode:
authorAdam Turner <9087854+aa-turner@users.noreply.github.com>2023-01-07 18:31:15 +0000
committerAdam Turner <9087854+aa-turner@users.noreply.github.com>2023-01-07 18:31:15 +0000
commita13cf2c24dd16b37670ee1d359f511cbdfa4402d (patch)
tree8ad1b7f385797dbee5834aca74178fbb56dbc6bf /sphinx/transforms
parent8384aa51a7f07ab653ef74ada77c22782d6ebc1d (diff)
downloadsphinx-git-a13cf2c24dd16b37670ee1d359f511cbdfa4402d.tar.gz
Adopt ``profile = "black"`` for ``isort``
This allows using Ruff's import sorting fixers
Diffstat (limited to 'sphinx/transforms')
-rw-r--r--sphinx/transforms/i18n.py9
1 files changed, 7 insertions, 2 deletions
diff --git a/sphinx/transforms/i18n.py b/sphinx/transforms/i18n.py
index d54a6ac1d..240d29594 100644
--- a/sphinx/transforms/i18n.py
+++ b/sphinx/transforms/i18n.py
@@ -20,8 +20,13 @@ from sphinx.locale import init as init_locale
from sphinx.transforms import SphinxTransform
from sphinx.util import get_filetype, logging, split_index_msg
from sphinx.util.i18n import docname_to_domain
-from sphinx.util.nodes import (IMAGE_TYPE_NODES, LITERAL_TYPE_NODES, NodeMatcher,
- extract_messages, traverse_translatable_index)
+from sphinx.util.nodes import (
+ IMAGE_TYPE_NODES,
+ LITERAL_TYPE_NODES,
+ NodeMatcher,
+ extract_messages,
+ traverse_translatable_index,
+)
if TYPE_CHECKING:
from sphinx.application import Sphinx