Skip to content

Commit

Permalink
owimpute: Fix type hint comment location
Browse files Browse the repository at this point in the history
  • Loading branch information
ales-erjavec committed Jan 14, 2021
1 parent 9b7873c commit b69a634
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Orange/widgets/data/owimpute.py
Original file line number Diff line number Diff line change
Expand Up @@ -435,8 +435,8 @@ def commit(self):
]

def impute_one(method, var, data):
# Readability counts, pylint: disable=no-else-raise
# type: (impute.BaseImputeMethod, Variable, Table) -> Any
# Readability counts, pylint: disable=no-else-raise
if isinstance(method, impute.Model) and data.is_sparse():
raise SparseNotSupported()
elif isinstance(method, impute.DropInstances):
Expand Down

0 comments on commit b69a634

Please sign in to comment.