Skip to content

Commit

Permalink
minor type hinting
Browse files Browse the repository at this point in the history
  • Loading branch information
lewisblake committed Nov 17, 2024
1 parent c3e6a72 commit 72a9b4e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pyaerocom/aeroval/collections.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ def remove_entry(self, key: str):
if key in self._entries:
del self._entries[key]

Check warning on line 102 in pyaerocom/aeroval/collections.py

View check run for this annotation

Codecov / codecov/patch

pyaerocom/aeroval/collections.py#L101-L102

Added lines #L101 - L102 were not covered by tests

def get_entry(self, key) -> ObsEntry:
def get_entry(self, key: str) -> ObsEntry:
"""
Getter for obs entries
Expand Down Expand Up @@ -132,7 +132,7 @@ def get_all_vars(self) -> list[str]:
vars.extend(ocfg.get_all_vars())
return sorted(list(set(vars)))

def get_web_interface_name(self, key):
def get_web_interface_name(self, key: str) -> str:
"""
Get webinterface name for entry
Expand Down

0 comments on commit 72a9b4e

Please sign in to comment.