Skip to content

Commit

Permalink
Numpydoc: Ignore overloaded functions
Browse files Browse the repository at this point in the history
  • Loading branch information
ffl096 committed Nov 28, 2023
1 parent d009ab8 commit bfa6373
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions toponetx/readwrite/atomlist.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,14 +177,14 @@ def write_atomlist(domain: CellComplex | SimplicialComplex, path: str) -> None:
@overload
def load_from_atomlist(
filepath: str, complex_type: Literal["cell"], nodetype=None
) -> CellComplex:
) -> CellComplex: # numpydoc ignore=GL08
pass


@overload
def load_from_atomlist(
filepath: str, complex_type: Literal["simplicial"], nodetype=None
) -> SimplicialComplex:
) -> SimplicialComplex: # numpydoc ignore=GL08
pass


Expand Down Expand Up @@ -219,14 +219,14 @@ def load_from_atomlist(
@overload
def parse_atomlist(
lines: list[str], complex_type: Literal["cell"], nodetype=None
) -> CellComplex:
) -> CellComplex: # numpydoc ignore=GL08
pass


@overload
def parse_atomlist(
lines: list[str], complex_type: Literal["simplicial"], nodetype=None
) -> SimplicialComplex:
) -> SimplicialComplex: # numpydoc ignore=GL08
pass


Expand Down

0 comments on commit bfa6373

Please sign in to comment.