Skip to content

Commit

Permalink
Merge pull request #136 from django-commons/develop
Browse files Browse the repository at this point in the history
make linter happy
  • Loading branch information
bckohan authored Oct 27, 2024
2 parents 2b9d669 + e380820 commit 85fa56f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion django_typer/management/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1921,7 +1921,7 @@ def __new__(
try:
# avoid unnecessary work creating the TyperCommand class
# is there a less weird way to do this?
is_base_init = not TyperCommand
is_base_init = not TyperCommand # type: ignore[truthy-function]
except NameError:
is_base_init = True
typer_app = None
Expand Down
2 changes: 1 addition & 1 deletion django_typer/management/commands/shellcompletion.py
Original file line number Diff line number Diff line change
Expand Up @@ -553,7 +553,7 @@ def get_completions(self, args, incomplete):
def call_fallback(fb: t.Optional[str]) -> None:
fallback = import_string(fb) if fb else self.django_fallback
if cmd_str and inspect.signature(fallback).parameters:
fallback(cmd_str) # pyright: ignore[reportCallIssue]
fallback(cmd_str) # type: ignore
else:
fallback()

Expand Down

0 comments on commit 85fa56f

Please sign in to comment.