Skip to content

Commit

Permalink
Issue #7 fixed linting errors
Browse files Browse the repository at this point in the history
  • Loading branch information
thompson318 committed Mar 2, 2022
1 parent d6ac5ff commit b3e846e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion sksurgeryeval/algorithms/locators.py
Expand Up @@ -58,7 +58,7 @@ def is_hit(self, tracking, logger):
str(self._targets[self._target_index])])

if index == self._targets[self._target_index]:
logger.log(message="Hit target:{0}".format(index))
logger.log(message=f"Hit target:{index}")
self._set_target_inactive(self._targets[self._target_index])
self._target_index = self._target_index + 1
if self._target_index < len(self._locators):
Expand Down
3 changes: 1 addition & 2 deletions sksurgeryeval/shapes/cone.py
Expand Up @@ -25,8 +25,7 @@ def __init__(self, height, radius, colour, name, visibility=True,
:param opacity: float [0,1]
"""

super(VTKConeModel, self).__init__(None, colour, visibility,
opacity)
super().__init__(None, colour, visibility, opacity)
self.name = name

cone = vtk.vtkConeSource()
Expand Down

0 comments on commit b3e846e

Please sign in to comment.