From 9530ac50d3e560033929b442f00f1cc32b2d235b Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 19 Aug 2024 20:51:59 +0000 Subject: [PATCH 1/2] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/astral-sh/ruff-pre-commit: v0.5.7 → v0.6.1](https://github.com/astral-sh/ruff-pre-commit/compare/v0.5.7...v0.6.1) --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 930334ea..88f48cb8 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 From 544b684d9b3c167dd6f37fcc749611ef5a66695b Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 19 Aug 2024 20:52:22 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- notebooks/lammps_local.ipynb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/notebooks/lammps_local.ipynb b/notebooks/lammps_local.ipynb index 0affdf37..8834f8db 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)" ] } ],