Skip to content

Commit

Permalink
Fixed formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
yuce committed Oct 13, 2024
1 parent c0c37bf commit 91d71b0
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/pyswip/prolog.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,11 @@ def retractall(cls, term, catcherrors=False):

@classmethod
def consult(
cls, path: Union[str, Path], *, catcherrors=False, relative_to: Union[str, Path] = ""
cls,
path: Union[str, Path],
*,
catcherrors=False,
relative_to: Union[str, Path] = "",
):
path = resolve_path(path, relative_to)
next(cls.query(str(path).join(["consult('", "')"]), catcherrors=catcherrors))
Expand Down

0 comments on commit 91d71b0

Please sign in to comment.