Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jul 3, 2023
1 parent 8c4cf6a commit 2bf0d97
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions vanilla_roll/anatomy_orientation.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@ class Axial(Enum):

@classmethod
def of(cls, s: Literal["Superior"] | Literal["Inferior"]) -> Axial:
"""construct from string.
"""Construct from string.
>>> Axial.of("Superior")
<Axial.SUPERIOR: 'Superior'>
"""
return cls(s)

def inverse(self) -> Axial:
"""get inverse.
"""Get inverse.
>>> Axial.SUPERIOR.inverse()
<Axial.INFERIOR: 'Inferior'>
Expand All @@ -36,7 +36,7 @@ class Sagittal(Enum):

@classmethod
def of(cls, s: Literal["Anterior"] | Literal["Posterior"]) -> Sagittal:
"""construct from string.
"""Construct from string.
>>> Sagittal.of("Anterior")
<Sagittal.ANTERIOR: 'Anterior'>
Expand All @@ -57,7 +57,7 @@ class Coronal(Enum):

@classmethod
def of(cls, s: Literal["Right"] | Literal["Left"]) -> Coronal:
"""construct from string.
"""Construct from string.
>>> Coronal.of("Right")
<Coronal.RIGHT: 'Right'>
Expand Down

0 comments on commit 2bf0d97

Please sign in to comment.