From 65aab8c55a9ae296ac487b448468b3447dcdd9b1 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 29 Jan 2024 20:04:40 +0000 Subject: [PATCH 1/3] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/psf/black: 23.12.1 → 24.1.1](https://github.com/psf/black/compare/23.12.1...24.1.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 5bbbee926..7eead1d1a 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -2,7 +2,7 @@ repos: - repo: https://github.com/psf/black - rev: 23.12.1 # IF VERSION CHANGES --> MODIFY "blacken-docs" MANUALLY AS WELL!! + rev: 24.1.1 # IF VERSION CHANGES --> MODIFY "blacken-docs" MANUALLY AS WELL!! hooks: - id: black args: [ From 74e5d07f0211c72cffefc24a663e2021605ef0e6 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 29 Jan 2024 20:06:46 +0000 Subject: [PATCH 2/3] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- doc/source/conf.py | 1 + doc/source/doc-style/code/required_conf.py | 1 + examples/pyvista_example.py | 1 + 3 files changed, 3 insertions(+) diff --git a/doc/source/conf.py b/doc/source/conf.py index aeb1cd9bf..d23c3a09d 100755 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -1,4 +1,5 @@ """Sphinx documentation configuration file for the pyansys developer's guide.""" + from datetime import datetime import os diff --git a/doc/source/doc-style/code/required_conf.py b/doc/source/doc-style/code/required_conf.py index 48d2e4ec5..ddb92f04a 100644 --- a/doc/source/doc-style/code/required_conf.py +++ b/doc/source/doc-style/code/required_conf.py @@ -1,4 +1,5 @@ """Sphinx documentation configuration file.""" + from datetime import datetime from ansys_sphinx_theme import pyansys_logo_black as logo diff --git a/examples/pyvista_example.py b/examples/pyvista_example.py index 92f77421d..019327db8 100644 --- a/examples/pyvista_example.py +++ b/examples/pyvista_example.py @@ -28,6 +28,7 @@ After this preamble is complete, the first code block begins. This is where you typically set up your imports. """ + import pyvista as pv ############################################################################### From d5f54bb643f026ae7e3921912e985daedd53760c Mon Sep 17 00:00:00 2001 From: Dipin <26918585+dipinknair@users.noreply.github.com> Date: Mon, 29 Jan 2024 16:05:55 -0600 Subject: [PATCH 3/3] blacken-docs update --- .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 7eead1d1a..fa1749bae 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -14,7 +14,7 @@ repos: rev: 1.16.0 hooks: - id: blacken-docs - additional_dependencies: [black==23.12.1] + additional_dependencies: [black==24.1.1] - repo: https://github.com/pycqa/isort rev: 5.13.2