Skip to content

Commit

Permalink
fix: add type annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
MaferMazu committed Feb 21, 2023
1 parent b9dddd4 commit d70f99a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tutor/env.py
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ def render_all(self, *prefix: str) -> None:
for template_name in self.iter_templates_in(*prefix):
rendered = self.render_template(template_name)

def print_patches_locations(self):
def print_patches_locations(self) -> None:
click.echo(f"{'PATCH'.ljust(self.space)} LOCATIONS")
self.render_all()
for key, values in self.patches_locations.items():
Expand All @@ -261,7 +261,7 @@ def print_patches_locations(self):

def __init__(self, config: t.Optional[Config] = None, space: int = 40):
self.space = space
self.patches_locations = dict()
self.patches_locations: t.Dict[str, t.List] = {}
super().__init__(config)


Expand Down

0 comments on commit d70f99a

Please sign in to comment.