diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 930334e..88f48cb 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.5.7 + rev: v0.6.1 hooks: - id: ruff name: ruff lint diff --git a/notebooks/lammps_local.ipynb b/notebooks/lammps_local.ipynb index 0affdf3..8834f8d 100644 --- a/notebooks/lammps_local.ipynb +++ b/notebooks/lammps_local.ipynb @@ -38,7 +38,7 @@ "metadata": {}, "outputs": [], "source": [ - "lmp = LammpsLibrary(cores=2, mode='local')" + "lmp = LammpsLibrary(cores=2, mode=\"local\")" ] }, { @@ -379,7 +379,7 @@ "metadata": {}, "outputs": [], "source": [ - "ff = ff*0.5\n", + "ff = ff * 0.5\n", "lmp.scatter_atoms(\"f\", ff, ids=ids[:10])" ] }, @@ -543,7 +543,7 @@ "outputs": [], "source": [ "lmp.delete_atoms(\"group\", \"all\")\n", - "lmp.reset_box([0.0,0.0,0.0], [8.0,8.0,8.0], 0.0,0.0,0.0)" + "lmp.reset_box([0.0, 0.0, 0.0], [8.0, 8.0, 8.0], 0.0, 0.0, 0.0)" ] } ],