diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index f0ff2b8..1dd1d70 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -5,7 +5,7 @@ ci: repos: - repo: https://github.com/psf/black-pre-commit-mirror - rev: 25.11.0 + rev: 26.1.0 hooks: - id: black-jupyter @@ -34,7 +34,7 @@ repos: - id: autoflake - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.19.0 + rev: v1.19.1 hooks: - id: mypy @@ -46,7 +46,7 @@ repos: - id: nbqa-isort - repo: https://github.com/kynan/nbstripout - rev: 0.8.2 + rev: 0.9.0 hooks: - id: nbstripout args: [--drop-empty-cells, --keep-output] diff --git a/notebooks/2017-04-03-Slab generation and Wulff shape.ipynb b/notebooks/2017-04-03-Slab generation and Wulff shape.ipynb index dd8fa23..be11a84 100644 --- a/notebooks/2017-04-03-Slab generation and Wulff shape.ipynb +++ b/notebooks/2017-04-03-Slab generation and Wulff shape.ipynb @@ -124,11 +124,8 @@ ")\n", "\n", "slabgen = SlabGenerator(Si, (1, 1, 1), 10, 10)\n", - "print(\n", - " \"Notice now there are actually now %s terminations that can be \\\n", - "generated in the (111) direction for diamond Si\"\n", - " % (len(slabgen.get_slabs()))\n", - ")\n", + "print(\"Notice now there are actually now %s terminations that can be \\\n", + "generated in the (111) direction for diamond Si\" % (len(slabgen.get_slabs())))\n", "\n", "# The simplest way to do this is to just use generate_all_slabs which finds all the unique\n", "# Miller indices for a structure and uses SlabGenerator to create all terminations for all of them.\n", @@ -400,11 +397,8 @@ } ], "source": [ - "print(\n", - " \"There is a total of %s slabs generated including polar, asymmetric, and \\\n", - "P-O terminated slabs\"\n", - " % (len(all_slabs))\n", - ")\n", + "print(\"There is a total of %s slabs generated including polar, asymmetric, and \\\n", + "P-O terminated slabs\" % (len(all_slabs)))\n", "\n", "# store any slabs for calculation that satisfies our criterias\n", "valid_slabs = []\n",