Skip to content

Commit

Permalink
test: update loader types
Browse files Browse the repository at this point in the history
  • Loading branch information
mirkolenz committed Jan 21, 2024
1 parent 2dfa8a0 commit 6425bbd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/data/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ def getlang(value: str | abc.Mapping[str, str], lang: str, default_lang: str = "


class Plugin(makejinja.plugin.Plugin):
def filters(self):
def filters(self) -> makejinja.plugin.Filters:
return [hassurl]

def functions(self):
def functions(self) -> makejinja.plugin.Functions:
return [getlang]

def path_filters(self):
def path_filters(self) -> makejinja.plugin.PathFilters:
return [self._remove_secrets]

def _remove_secrets(self, path: Path) -> bool:
Expand Down

0 comments on commit 6425bbd

Please sign in to comment.