Skip to content

Commit

Permalink
remove errant deepcopy
Browse files Browse the repository at this point in the history
  • Loading branch information
bckohan committed Jul 15, 2024
1 parent a1bcf5c commit a6a1f12
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
7 changes: 6 additions & 1 deletion doc/source/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,14 @@
Change Log
==========

v0.3.2 (15-JUL-2024)
v0.3.3 (15-JUL-2024)
====================

* Removed errant deepcopy introduced in last release.

v0.3.2 (yanked)
===============

* Implemented `Add blue waves theme. <https://github.com/sphinx-contrib/typer/issues/31>`_
* Implemented `Add red sands theme. <https://github.com/sphinx-contrib/typer/issues/30>`_

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "sphinxcontrib-typer"
version = "0.3.2"
version = "0.3.3"
description = "Auto generate docs for typer commands."
authors = ["Brian Kohan <[email protected]>"]
license = "MIT"
Expand Down
6 changes: 2 additions & 4 deletions sphinxcontrib/typer/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
from typer.main import get_command as get_typer_command
from typer.models import Context as TyperContext

VERSION = (0, 3, 2)
VERSION = (0, 3, 3)

__title__ = "SphinxContrib Typer"
__version__ = ".".join(str(i) for i in VERSION)
Expand Down Expand Up @@ -563,9 +563,7 @@ def get_console(stderr: bool = False) -> Console:
def run(self) -> t.Iterable[nodes.section]:
self.env = self.state.document.settings.env

from copy import deepcopy

command = deepcopy(self.load_root_command(self.arguments[0]))
command = self.load_root_command(self.arguments[0])

self.make_sections = "make-sections" in self.options
self.nested = "show-nested" in self.options
Expand Down

0 comments on commit a6a1f12

Please sign in to comment.