diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 03b5e60..05e8bb2 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.14.14 + rev: v0.15.0 hooks: - id: ruff name: ruff lint diff --git a/src/lammpsparser/potential.py b/src/lammpsparser/potential.py index 2f338f1..b5634d8 100644 --- a/src/lammpsparser/potential.py +++ b/src/lammpsparser/potential.py @@ -138,10 +138,12 @@ def _get_potential_df(file_name_lst, resource_path): lambda x: x.replace("'", "").strip("[]").split(", ") ), "Config": ( - lambda x: x.replace("'", "") - .replace("\\n", "\n") - .strip("[]") - .split(", ") + lambda x: ( + x.replace("'", "") + .replace("\\n", "\n") + .strip("[]") + .split(", ") + ) ), "Filename": ( lambda x: x.replace("'", "").strip("[]").split(", ")