Skip to content

Commit

Permalink
fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
bckohan committed Feb 18, 2024
1 parent d14bb05 commit 86b8aa6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion django_typer/completers.py
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ def __call__(
except (ValueError, TypeError):
return []

excluded = []
excluded: t.List[t.Type[Model]] = []
if self.distinct and parameter.name:
excluded = context.params.get(parameter.name, []) or []

Expand Down

0 comments on commit 86b8aa6

Please sign in to comment.