From 3a5801edcbb0536b3031a32bc4984fdfe0d8fb8d Mon Sep 17 00:00:00 2001 From: dangotbanned <125183946+dangotbanned@users.noreply.github.com> Date: Sun, 6 Oct 2024 21:32:39 +0100 Subject: [PATCH] style: Trim some whitespace --- sphinxext/code_ref.py | 1 - tools/codemod.py | 2 -- 2 files changed, 3 deletions(-) diff --git a/sphinxext/code_ref.py b/sphinxext/code_ref.py index ebf5eb308..3b4e7eb09 100644 --- a/sphinxext/code_ref.py +++ b/sphinxext/code_ref.py @@ -97,7 +97,6 @@ class CodeRefDirective(SphinxDirective): :fold: flag :summary: str - Examples -------- Reference a function, generating a code block: diff --git a/tools/codemod.py b/tools/codemod.py index 1de08c357..2732ff482 100644 --- a/tools/codemod.py +++ b/tools/codemod.py @@ -23,8 +23,6 @@ def parse_module(name: str, /) -> ast.Module: tests.____ doc.____ sphinxext.____ - - """ if (spec := find_spec(name)) and (origin := spec.origin): return ast.parse(Path(origin).read_bytes())