Skip to content

Commit

Permalink
some type check fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
chrishavlin committed Oct 4, 2024
1 parent e224748 commit bbfb7b6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -119,4 +119,4 @@ enable_error_code = ["ignore-without-code", "redundant-expr", "truthy-bool"]
warn_unreachable = true
disallow_untyped_defs = false
disallow_incomplete_defs = false
disable_error_code = ["import-untyped", "import-not-found"]
disable_error_code = ["import-untyped", "import-not-found", "no-untyped-call"]
4 changes: 2 additions & 2 deletions yt_experiments/tiled_grid/tiled_grid.py
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ def __init__(
self,
left_edge: npt.ArrayLike,
right_edge: npt.ArrayLike,
level_dims: [int | npt.ArrayLike],
level_dims: list[int | npt.ArrayLike],
level_chunks: int | npt.ArrayLike,
ds: Dataset = None,
field_parameters=None,
Expand Down Expand Up @@ -306,7 +306,7 @@ def __init__(
)
levels.append(tag)

self.levels: [YTTiledArbitraryGrid] = levels
self.levels: list[YTTiledArbitraryGrid] = levels

def _validate_levels(self, levels):

Expand Down

0 comments on commit bbfb7b6

Please sign in to comment.