Skip to content

Commit

Permalink
fix #90
Browse files Browse the repository at this point in the history
  • Loading branch information
bckohan committed Jun 6, 2024
1 parent f4db401 commit c37ecec
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion django_typer/management/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2462,7 +2462,7 @@ def command2(self, option: t.Optional[str] = None):

# allow deriving commands to override handle() from BaseCommand
# without triggering static type checking complaints
handle = None # type: ignore
handle: t.Callable[..., t.Any]

@property
def command_tree(self) -> CommandNode:
Expand Down
5 changes: 5 additions & 0 deletions doc/source/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@
Change Log
==========

v2.1.1
======

* Fixed `handle = None does not work for mypy to silence type checkers <https://github.com/bckohan/django-typer/issues/90>`_

v2.1.0
======

Expand Down

0 comments on commit c37ecec

Please sign in to comment.