From c5c624107b9ee2e2582dfb0b9aa1859496eeb58d Mon Sep 17 00:00:00 2001 From: trag1c <77130613+trag1c@users.noreply.github.com> Date: Tue, 1 Nov 2022 18:31:45 +0100 Subject: [PATCH] Included legacy functions in __all__ --- docs/conf.py | 2 +- pyproject.toml | 2 +- src/dahlia/__init__.py | 4 ++-- src/dahlia/__main__.py | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index 870811a..f3fc8c4 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -14,7 +14,7 @@ copyright = "2022, trag1c" author = "trag1c" -release = "2.1.0" +release = "2.1.1" # -- General configuration --------------------------------------------------- diff --git a/pyproject.toml b/pyproject.toml index ae72226..bacb132 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "dahlia" -version = "2.1.0" +version = "2.1.1" description = "A library allowing you to use Minecraft format codes in strings." authors = ["trag1c "] license = "MIT" diff --git a/src/dahlia/__init__.py b/src/dahlia/__init__.py index c09238c..da5ca63 100644 --- a/src/dahlia/__init__.py +++ b/src/dahlia/__init__.py @@ -1,3 +1,3 @@ -from .dahlia import Dahlia, Depth, clean, clean_ansi +from .dahlia import Dahlia, Depth, clean, clean_ansi, dahlia, dprint -__all__ = ("clean", "clean_ansi", "Dahlia", "Depth") +__all__ = ("clean", "clean_ansi", "Dahlia", "Depth", "dahlia", "dprint") diff --git a/src/dahlia/__main__.py b/src/dahlia/__main__.py index 6615fc1..5dfbada 100644 --- a/src/dahlia/__main__.py +++ b/src/dahlia/__main__.py @@ -31,7 +31,7 @@ def main() -> None: if args.test: d.test() elif args.version: - print("Dahlia 2.1.0") + print("Dahlia 2.1.1") exit() if args.clean: print(clean(string))