Skip to content

Commit

Permalink
Remove LogLevelType alias
Browse files Browse the repository at this point in the history
  • Loading branch information
jwodder committed Oct 9, 2023
1 parent 9c014ca commit f94629a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
-------------------------
Expand Down
5 changes: 1 addition & 4 deletions src/click_loglevel/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
__license__ = "MIT"
__url__ = "https://github.com/jwodder/click-loglevel"

__all__ = ["LogLevel", "LogLevelType"]
__all__ = ["LogLevel"]


class LogLevel(click.ParamType):
Expand Down Expand Up @@ -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

0 comments on commit f94629a

Please sign in to comment.