Skip to content

Commit

Permalink
Fixing the black-check warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
haz committed Dec 23, 2022
1 parent 8a0a6dd commit f1407cf
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
7 changes: 5 additions & 2 deletions pddl/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,15 @@
# Simple helpers
def parse_domain(fn):
from pddl.parser.domain import DomainParser
with open(fn, 'r') as f:

with open(fn, "r") as f:
dtext = f.read()
return DomainParser()(dtext)


def parse_problem(fn):
from pddl.parser.problem import ProblemParser
with open(fn, 'r') as f:

with open(fn, "r") as f:
ptext = f.read()
return ProblemParser()(ptext)
4 changes: 3 additions & 1 deletion pddl/__version__.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
__url__ = "https://github.com/AI-Planning/pddl.git"
__version__ = "0.2.0"
__author__ = "Marco Favorito, Francesco Fuggitti"
__author_email__ = "marco.favorito@gmail.com, fuggitti@diag.uniroma1.it, christian.muise@queensu.ca"
__author_email__ = (
"marco.favorito@gmail.com, fuggitti@diag.uniroma1.it, christian.muise@queensu.ca"
)
__license__ = "MIT License"
__copyright__ = "2021-2022 WhiteMech"

0 comments on commit f1407cf

Please sign in to comment.