Skip to content

Commit 48d42ea

Browse files
committed
prep for 1.0.2 release
1 parent a151aca commit 48d42ea

File tree

3 files changed

+17
-3
lines changed

3 files changed

+17
-3
lines changed

django_typer/__init__.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,8 +126,6 @@
126126
"model_parser_completer",
127127
]
128128

129-
# F = t.TypeVar('F', bound=t.Callable[..., t.Any])
130-
131129

132130
def model_parser_completer(
133131
model_cls: t.Type[Model],

django_typer/tests/hints.py

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
import os
2+
3+
import django
4+
5+
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "django_typer.tests.settings")
6+
django.setup()
7+
8+
9+
from django_typer.tests.test_app.management.commands.groups import (
10+
Command as GroupCommand,
11+
)
12+
13+
group = GroupCommand()
14+
15+
group.echo("hello")
16+
17+
group.math(3)

doc/source/changelog.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ v1.0.2
77

88
* Fixed `When usage errors are thrown the help output should be that of the subcommand invoked not the parent group. <https://github.com/bckohan/django-typer/issues/36>`_
99
* Fixed `typer installs its own system exception hook when commands are run and this may step on the installed rich hook <https://github.com/bckohan/django-typer/issues/35>`_
10-
* Fixed `Incomplete typing info for @command decorator <https://github.com/bckohan/django-typer/issues/33>`_
1110
* Fixed `Add py.typed stub <https://github.com/bckohan/django-typer/issues/31>`_
1211
* Fixed `Run type checking with django-stubs installed. <https://github.com/bckohan/django-typer/issues/30>`_
1312
* Fixed `Add pyright to linting and resolve any pyright errors. <https://github.com/bckohan/django-typer/issues/29>`_

0 commit comments

Comments
 (0)