Skip to content

Commit

Permalink
fix: make the linter happy
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinsbarnard committed Feb 6, 2024
1 parent 21942b8 commit 6cc52f6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions fathomnet/api/worms.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,5 +93,5 @@ def find_taxa_by_prefix(prefix: str, rank: str = None, parent: str = None) -> Li
if parent is not None:
params['parent'] = parent

res_json = Worms.get(f'taxa/query/startswith/{prefix}', params=params)
return [WormsNode.from_dict(item) for item in res_json]
res_json = Worms.get(f'taxa/query/startswith/{prefix}', params=params)
return [WormsNode.from_dict(item) for item in res_json]
2 changes: 1 addition & 1 deletion test/test_worms.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def recurse_check(node: WormsNode) -> bool:


class TestWormsAPI(TestCase):

def test_count_names(self):
count = worms.count_names()
self.assertIsNotNone(count)
Expand Down

0 comments on commit 6cc52f6

Please sign in to comment.