Closed tomsilver closed 2 years ago
It looks like the failing check is related to autoformatting with black? I installed black and ran it, and it led to a change in a file not changed in this PR:
diff --git a/pyperplan/grounding.py b/pyperplan/grounding.py
index fd7e414..b8f9456 100644
--- a/pyperplan/grounding.py
+++ b/pyperplan/grounding.py
@@ -245,7 +245,7 @@ def _find_pred_in_init(pred_name, param, sig_pos, init):
"""
match_init = None
if sig_pos == 0:
- match_init = re.compile(fr"\({pred_name} {param}.*")
+ match_init = re.compile(rf"\({pred_name} {param}.*")
else:
reg_ex = r"\(%s\s+" % pred_name
reg_ex += r"[\w\d-]+\s+" * sig_pos
I've seen this error in other projects. I'll fix it later on the main branch.
Closes #18
Example of
print("Problem:", problem)
before this change:After this change: