Skip to content

Commit

Permalink
mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
ethteck committed Aug 16, 2024
1 parent 07b8097 commit d3642a9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/splat/segtypes/segment.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ def parse_segment_subalign(segment: Union[dict, list]) -> Optional[int]:
if isinstance(segment, dict):
subalign = segment.get("subalign")
if subalign != None:
assert isinstance(subalign, int)
subalign = int(subalign)
return subalign
return None
Expand Down

0 comments on commit d3642a9

Please sign in to comment.