Skip to content

Commit

Permalink
Issue #233: Linting.
Browse files Browse the repository at this point in the history
  • Loading branch information
MattClarkson committed Dec 28, 2024
1 parent 18affb1 commit 31a25dd
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
5 changes: 3 additions & 2 deletions sksurgeryvtk/models/vtk_base_actor.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@ class VTKBaseActor():
It is possible for various VTK implementations / derived classes to ignore
the colour property. For example a point set could store an RGB tuple for
each point, so when rendered, the overall colour property is effectively ignored.
However, the property has been kept at this base class level for simplicity.
each point, so when rendered, the overall colour property is effectively
ignored. However, the property has been kept at this base class level for
simplicity.
"""
def __init__(self, colour, visibility=True, opacity=1.0, pickable=True):
"""
Expand Down
3 changes: 2 additions & 1 deletion sksurgeryvtk/models/vtk_sphere_model.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# -*- coding: utf-8 -*-

"""
VTKSphereModel creates a VTK pipeline to represent a set of points, as sphere glyphs.
VTKSphereModel creates a VTK pipeline to represent a set of points,
as sphere glyphs.
"""

import numpy as np
Expand Down
3 changes: 2 additions & 1 deletion sksurgeryvtk/models/vtk_surface_model.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# -*- coding: utf-8 -*-

"""
VTKSurfaceModel contains a VTK pipeline to render a surface, essentially as a vtkPolyData.
VTKSurfaceModel contains a VTK pipeline to render a surface,
essentially as a vtkPolyData.
"""

import os
Expand Down

0 comments on commit 31a25dd

Please sign in to comment.