Skip to content

Commit 1780896

Browse files
add types for cli
1 parent 597c5e2 commit 1780896

File tree

1 file changed

+2
-1
lines changed
  • src/django_github_app/management/commands

1 file changed

+2
-1
lines changed

src/django_github_app/management/commands/github.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
from __future__ import annotations
22

33
from typing import Annotated
4+
from typing import Any
45
from typing import Literal
56

67
from django_typer.management import Typer
@@ -9,7 +10,7 @@
910
from django_github_app.models import Installation
1011
from django_github_app.models import Repository
1112

12-
cli = Typer(help="Manage your GitHub App")
13+
cli: Typer[..., Any] = Typer(help="Manage your GitHub App")
1314

1415

1516
@cli.command()

0 commit comments

Comments
 (0)