Skip to content

Commit

Permalink
Use python3.9 typing union syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
simoncozens authored and felipesanches committed Feb 24, 2024
1 parent 91672c8 commit 546808a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Lib/fontbakery/sphinx_extensions/profile.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from typing import Any
from typing import Any, Optional

import m2r
from sphinx.application import Sphinx
Expand Down Expand Up @@ -29,7 +29,7 @@ def can_document_member(

def add_content(
self,
more_content: Any | None,
more_content: Optional[Any],
# no_docstring: bool = False,
) -> None:
super().add_content(more_content)
Expand Down Expand Up @@ -96,7 +96,7 @@ def can_document_member(

def add_content(
self,
more_content: Any | None,
more_content: Optional[Any],
# no_docstring: bool = False,
) -> None:
source_name = self.get_sourcename()
Expand Down

0 comments on commit 546808a

Please sign in to comment.