Skip to content

Commit

Permalink
refactor: autofix issues in 1 file
Browse files Browse the repository at this point in the history
Resolved issues in concat/typecheck/__init__.py with DeepSource Autofix
  • Loading branch information
deepsource-autofix[bot] authored Oct 16, 2024
1 parent 717e6a7 commit 499b31d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion concat/typecheck/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -903,7 +903,7 @@ def to_type(self, env: Environment) -> Tuple[Type, Environment]:
if self._name is not None:
env[self._name] = ty
return ty, env
elif self._name is not None:
if self._name is not None:
ty = env[self._name]
if not (ty.kind <= ItemKind):
raise TypeError(
Expand Down

0 comments on commit 499b31d

Please sign in to comment.