Skip to content

Commit

Permalink
Appease pylint
Browse files Browse the repository at this point in the history
  • Loading branch information
awnawab committed Apr 29, 2024
1 parent 929fdf7 commit 2bf86eb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion loki/dimension.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,6 @@ def index_expressions(self):

exprs = [self.index,]
if self._index_aliases:
exprs += [alias for alias in self._index_aliases]
exprs += list(self._index_aliases)

return as_tuple(exprs)
2 changes: 1 addition & 1 deletion transformations/tests/test_block_index_inject.py
Original file line number Diff line number Diff line change
Expand Up @@ -324,4 +324,4 @@ def test_blockview_to_fieldview_exception(frontend, horizontal):
item.trafo_data['foobar'] = {'definitions': []}
with pytest.raises(RuntimeError):
BlockViewToFieldViewTransformation(horizontal, key='foobar').apply(kernel, item=item, role='kernel',
targets=('compute',))
targets=('compute',))

0 comments on commit 2bf86eb

Please sign in to comment.