Skip to content

Commit

Permalink
style: Trim some whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
dangotbanned committed Oct 6, 2024
1 parent 6e1ca94 commit 3a5801e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion sphinxext/code_ref.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,6 @@ class CodeRefDirective(SphinxDirective):
:fold: flag
:summary: str
Examples
--------
Reference a function, generating a code block:
Expand Down
2 changes: 0 additions & 2 deletions tools/codemod.py
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down

0 comments on commit 3a5801e

Please sign in to comment.