From f94629ab48bbdf8c2964649032cdb6322ae5bcd6 Mon Sep 17 00:00:00 2001 From: "John T. Wodder II" Date: Mon, 9 Oct 2023 13:55:18 -0400 Subject: [PATCH] Remove `LogLevelType` alias --- CHANGELOG.md | 1 + src/click_loglevel/__init__.py | 5 +---- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 409426d..5c0b3a1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ v0.5.0 (in development) - Drop support for Python 3.6 - Require Click >= 8.0 - Add type annotations +- Remove `LogLevelType` alias v0.4.0.post1 (2021-06-05) ------------------------- diff --git a/src/click_loglevel/__init__.py b/src/click_loglevel/__init__.py index 2ffa5e2..4221ca1 100644 --- a/src/click_loglevel/__init__.py +++ b/src/click_loglevel/__init__.py @@ -28,7 +28,7 @@ __license__ = "MIT" __url__ = "https://github.com/jwodder/click-loglevel" -__all__ = ["LogLevel", "LogLevelType"] +__all__ = ["LogLevel"] class LogLevel(click.ParamType): @@ -88,6 +88,3 @@ def get_completions(self, incomplete: str) -> Iterator[str]: for lv in self.levels: if lv.startswith(incomplete): yield lv - - -LogLevelType = LogLevel