Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
HemanthSai7 committed May 10, 2024
1 parent 5782a92 commit 2c13924
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion techdocs/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "techdocs"
version = "0.2.0"
version = "0.2.2"
description = "Code documentation generation CLI App"
readme = "README.md"
requires-python = ">=3.10"
Expand Down
2 changes: 1 addition & 1 deletion techdocs/setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = techdocs
version = 0.2.0
version = 0.2.2

[options]
packages = techdocs
Expand Down
2 changes: 1 addition & 1 deletion techdocs/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

setup(
name='techdocs',
version='0.2.0',
version='0.2.2',
# To provide executable scripts, use entry points in preference to the
# "scripts" keyword. Entry points provide cross-platform support and allow
# pip to create the appropriate form of executable for the target platform.
Expand Down
2 changes: 1 addition & 1 deletion techdocs/techdocs/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.2.0"
__version__ = "0.2.2"
2 changes: 1 addition & 1 deletion techdocs/techdocs/utils/parse.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def extract_outermost_function(node, config):
if response is not None:
try:
docstr = response.split('"""')
docstring = ast.Expr(value=ast.Str(s=docstr[1]))
docstring = ast.Expr(value=ast.Constant(s=docstr[1]))
# print(f"Docstring generated for def {node.name}")
logging_manager = config.get("logging_manager")
logging_manager.set_log_handlers = [logging_manager.file_handler]
Expand Down

0 comments on commit 2c13924

Please sign in to comment.