Skip to content

Commit

Permalink
Merge branch 'annotation' of https://github.com/knutnergaard/fontParts
Browse files Browse the repository at this point in the history
…into annotation
  • Loading branch information
knutnergaard committed Nov 19, 2024
2 parents d4c6376 + 109fe98 commit 0006786
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions Lib/fontParts/base/font.py
Original file line number Diff line number Diff line change
Expand Up @@ -1864,9 +1864,6 @@ def _appendGuideline(
:param angle: The angle for the guideline as a :class:`float`.
:param name: The name for the guideline as a :class:`str`.
:param color: The color for the guideline as a :ref:`type-color`.
:param guideline: The :class:`BaseGuideline` subclass instance from
which to copy values. If `position`, `angle`, `name`, or `color`
are specified, those values will be used instead.
:param \**kwargs: Additional keyword arguments.
:return: The newly appended instance of
the :class:`BaseGuideline` subclass.
Expand Down Expand Up @@ -2417,8 +2414,9 @@ def _get_selectedGuidelines(self) -> Tuple[BaseGuideline, ...]:
"""
return self._getSelectedSubObjects(self.guidelines)

def _set_base_selectedGuidelines(self,
value: List[Union[BaseGuideline, int]]) -> None:
def _set_base_selectedGuidelines(
self, value: List[Union[BaseGuideline, int]]
) -> None:
normalized = []
for guideline in value:
normalizedGuideline: Union[BaseGuideline, int]
Expand Down

0 comments on commit 0006786

Please sign in to comment.