diff options
author | Daniel Eades <danieleades@hotmail.com> | 2022-12-15 17:22:07 +0000 |
---|---|---|
committer | Jean-François B <2589111+jfbu@users.noreply.github.com> | 2022-12-16 16:50:24 +0100 |
commit | 1abb24e309c8189eca2663f77c3a3aa866633e12 (patch) | |
tree | e74425a4c2647b8a5c6c7c980f00235fc12491b5 /sphinx/directives/code.py | |
parent | dc29bf9abef764460ec5ec1c1571bddce9a4f7fa (diff) | |
download | sphinx-git-1abb24e309c8189eca2663f77c3a3aa866633e12.tar.gz |
remove blanket 'noqas'
Diffstat (limited to 'sphinx/directives/code.py')
-rw-r--r-- | sphinx/directives/code.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sphinx/directives/code.py b/sphinx/directives/code.py index d33462dc0..a872b9e47 100644 --- a/sphinx/directives/code.py +++ b/sphinx/directives/code.py @@ -67,7 +67,9 @@ def dedent_lines( return new_lines -def container_wrapper(directive: SphinxDirective, literal_node: Node, caption: str) -> nodes.container: # NOQA +def container_wrapper( + directive: SphinxDirective, literal_node: Node, caption: str +) -> nodes.container: container_node = nodes.container('', literal_block=True, classes=['literal-block-wrapper']) parsed = nodes.Element() |