Skip to content

Commit

Permalink
Complete type annotations for 'Vertex' class initializer
Browse files Browse the repository at this point in the history
  • Loading branch information
lycantropos committed Mar 19, 2021
1 parent ef0945d commit 67340ea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sect/core/voronoi/faces.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from typing import Optional

from ground.hints import Coordinate
from reprit.base import generate_repr
from symba.base import Expression

from .enums import (GeometryCategory,
SourceCategory)
Expand Down Expand Up @@ -35,7 +35,7 @@ def is_degenerate(self) -> bool:
class Vertex:
__slots__ = 'x', 'y', 'incident_edge'

def __init__(self, x: Coordinate, y: Coordinate) -> None:
def __init__(self, x: Expression, y: Expression) -> None:
self.x, self.y = x, y
self.incident_edge = None # type: Optional[Edge]

Expand Down

0 comments on commit 67340ea

Please sign in to comment.