From 57274a1496e20d14070b1b87876f6614859752d2 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Sun, 14 Jul 2024 05:50:36 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- examples/intro/checking_validity_of_a_pag.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/intro/checking_validity_of_a_pag.py b/examples/intro/checking_validity_of_a_pag.py index f973bb31..50ce8ae1 100644 --- a/examples/intro/checking_validity_of_a_pag.py +++ b/examples/intro/checking_validity_of_a_pag.py @@ -57,9 +57,9 @@ # %% # Validity of a PAG # --------------------------- -# For a PAG to be valid, it must represent a valid +# For a PAG to be valid, it must represent a valid # equivalent class of MAGs. This can be verified by -# turning the PAG into an MAG and then checking the +# turning the PAG into an MAG and then checking the # validity of the MAG # To check if the constructed PAG is a valid one in # pywhy-graphs, we can simply do: @@ -74,7 +74,7 @@ # a single mark in the graph such that the PAG # does not represent the equivalent class of MAGs: -pag.remove_edge("S","I",pag.circle_edge_name) +pag.remove_edge("S", "I", pag.circle_edge_name) # returns False print(pywhy_graphs.valid_pag(pag))