Skip to content

Commit 18dae3e

Browse files
committed
docs: add type hint
1 parent 5034f29 commit 18dae3e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ORStools/proc/snap_proc.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,12 +48,12 @@
4848

4949
# noinspection PyPep8Naming
5050
class ORSSnapAlgo(ORSBaseProcessingAlgorithm):
51-
def __init__(self):
51+
def __init__(self) -> None:
5252
super().__init__()
5353
self.ALGO_NAME: str = "snap_from_point_layer"
5454
self.GROUP: str = "Snap"
55-
self.IN_POINTS = "IN_POINTS"
56-
self.RADIUS = "RADIUS"
55+
self.IN_POINTS: str = "IN_POINTS"
56+
self.RADIUS: str = "RADIUS"
5757
self.PARAMETERS: list = [
5858
QgsProcessingParameterFeatureSource(
5959
name=self.IN_POINTS,

0 commit comments

Comments
 (0)