diff options
| author | Adam Turner <9087854+aa-turner@users.noreply.github.com> | 2023-04-05 14:18:31 +0100 |
|---|---|---|
| committer | Adam Turner <9087854+aa-turner@users.noreply.github.com> | 2023-04-05 14:19:43 +0100 |
| commit | 52a099b7ec9b08aa034c05c515d7ba5e6f7b004c (patch) | |
| tree | e0a7dee981dbd3a4c81e36cce87db4b33cb27ef5 /sphinx/writers | |
| parent | 2932bacac453d8150c6d4cd3e81ce37739c11ba0 (diff) | |
| download | sphinx-git-52a099b7ec9b08aa034c05c515d7ba5e6f7b004c.tar.gz | |
Resolve lint errors from Ruff 0.0.261
Diffstat (limited to 'sphinx/writers')
| -rw-r--r-- | sphinx/writers/text.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sphinx/writers/text.py b/sphinx/writers/text.py index d194f0eeb..3bce03ac6 100644 --- a/sphinx/writers/text.py +++ b/sphinx/writers/text.py @@ -323,8 +323,7 @@ class TextWrapper(textwrap.TextWrapper): if w == 1: chunks.extend(split(''.join(g))) else: - # Ruff false positive: https://github.com/charliermarsh/ruff/issues/3829 - chunks.extend(list(g)) # NoQA: B031 + chunks.extend(list(g)) return chunks def _handle_long_word(self, reversed_chunks: list[str], cur_line: list[str], |
