Skip to content

Commit

Permalink
Fix style
Browse files Browse the repository at this point in the history
  • Loading branch information
egparedes committed Nov 16, 2023
1 parent 3b16173 commit f7c996b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions src/gt4py/next/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@
TypeAlias,
TypeGuard,
TypeVar,
Union,
cast,
extended_runtime_checkable,
overload,
Expand Down Expand Up @@ -310,7 +309,7 @@ def __getitem__(self, index: slice) -> Domain: # noqa: F811 # redefine unused
def __getitem__(self, index: Dimension) -> NamedRange: # noqa: F811 # redefine unused
...

def __getitem__(
def __getitem__( # noqa: F811 # redefine unused
self, index: int | slice | Dimension
) -> NamedRange | Domain: # noqa: F811 # redefine unused
if isinstance(index, int):
Expand Down
2 changes: 1 addition & 1 deletion src/gt4py/next/ffront/decorator.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
from gt4py._core import definitions as core_defs
from gt4py.eve import utils as eve_utils
from gt4py.eve.extended_typing import Any, Optional
from gt4py.next import allocators as next_allocators, common, embedded as next_embedded
from gt4py.next import allocators as next_allocators, embedded as next_embedded
from gt4py.next.common import Dimension, DimensionKind, GridType
from gt4py.next.ffront import (
dialect_ast_enums,
Expand Down

0 comments on commit f7c996b

Please sign in to comment.