Skip to content

Commit

Permalink
Release version 0.0.0.dev44
Browse files Browse the repository at this point in the history
  • Loading branch information
AAriam committed Sep 29, 2024
1 parent 692473e commit 2f2e1cf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ namespaces = true
# ----------------------------------------- Project Metadata -------------------------------------
#
[project]
version = "0.0.0.dev43"
version = "0.0.0.dev44"
name = "LoggerMan"
dependencies = [
"MDit == 0.0.0.dev15",
Expand Down
9 changes: 3 additions & 6 deletions src/loggerman/logger.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ def __init__(self):
self._prefix_caller_name: str = ""
self._prefix_time: str = ""
self._actionman_logger: _actionman.log.Logger | None = None
self._curr_section_name: str | None = None
return

@property
Expand Down Expand Up @@ -319,7 +318,7 @@ def pretty(

def sectioner(
self,
title: str | None = None,
title: ContainerContentInputType = None,
key: str | None = None,
conditions: str | list[str] | None = None,
handler: dict[Type[Exception], Callable | tuple[Callable, dict[str, Any]]] | None = None,
Expand Down Expand Up @@ -361,7 +360,7 @@ def exception_handler(section_handler, e, func, args, kwargs):
@_contextmanager
def sectioning(
self,
title: str,
title: ContainerContentInputType,
key: str | None = None,
conditions: str | list[str] | None = None,
):
Expand All @@ -372,7 +371,7 @@ def sectioning(

def section(
self,
title: str,
title: ContainerContentInputType,
key: str | None = None,
conditions: str | list[str] | None = None,
):
Expand All @@ -385,8 +384,6 @@ def section(
explicit_number=True,
config_rich=heading_configs[min(len(self._next_section_num), len(heading_configs)) - 1]
)
section_num = ".".join(str(num) for num in self._next_section_num)
self._curr_section_name = f"{section_num}. {title}"
if self._realtime_levels:
self._print(heading.source(target="console"))
if not self._doc:
Expand Down

0 comments on commit 2f2e1cf

Please sign in to comment.