From 62eb2125d934cd0ea0735dd744ec067a52aba213 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 19 Jan 2026 20:50:00 +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/psf/black-pre-commit-mirror: 25.12.0 → 26.1.0](https://github.com/psf/black-pre-commit-mirror/compare/25.12.0...26.1.0) --- .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 86a57dc1..b5e19dfc 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,7 +1,7 @@ repos: - repo: https://github.com/psf/black-pre-commit-mirror - rev: 25.12.0 + rev: 26.1.0 hooks: - id: black From 37b8aa4f7d5c4675c1cafd5c9d22d2a7a1319ef1 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 19 Jan 2026 20:54:31 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- examples/00-post_processing/post_processing_context_manager.py | 1 + src/ansys/fluent/interface/post_objects/check_in_notebook.py | 1 + src/ansys/fluent/visualization/config.py | 1 + src/ansys/fluent/visualization/containers.py | 1 + src/ansys/fluent/visualization/graphics/graphics_windows.py | 1 + src/ansys/fluent/visualization/graphics/pyvista/renderer.py | 1 + src/ansys/fluent/visualization/renderer.py | 1 + 7 files changed, 7 insertions(+) diff --git a/examples/00-post_processing/post_processing_context_manager.py b/examples/00-post_processing/post_processing_context_manager.py index 214bd74e..24977581 100644 --- a/examples/00-post_processing/post_processing_context_manager.py +++ b/examples/00-post_processing/post_processing_context_manager.py @@ -47,6 +47,7 @@ to post-processing CFD results. """ + ############################################################################### # Run the following in command prompt to execute this file: # exec(open("updated_post_processing_example.py").read()) diff --git a/src/ansys/fluent/interface/post_objects/check_in_notebook.py b/src/ansys/fluent/interface/post_objects/check_in_notebook.py index 549caf95..2bb6f42f 100644 --- a/src/ansys/fluent/interface/post_objects/check_in_notebook.py +++ b/src/ansys/fluent/interface/post_objects/check_in_notebook.py @@ -21,6 +21,7 @@ # SOFTWARE. """Provides a module to check if the library is being used in a Jupyter environment.""" + import warnings from ansys.fluent.core import PyFluentDeprecationWarning diff --git a/src/ansys/fluent/visualization/config.py b/src/ansys/fluent/visualization/config.py index e15d92f1..d93439ba 100644 --- a/src/ansys/fluent/visualization/config.py +++ b/src/ansys/fluent/visualization/config.py @@ -20,6 +20,7 @@ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE # SOFTWARE. """Configuration variables for visualization.""" + from enum import Enum import os import warnings diff --git a/src/ansys/fluent/visualization/containers.py b/src/ansys/fluent/visualization/containers.py index b4c6361f..e09efa6d 100644 --- a/src/ansys/fluent/visualization/containers.py +++ b/src/ansys/fluent/visualization/containers.py @@ -21,6 +21,7 @@ # SOFTWARE. """Containers for graphics.""" + import warnings from ansys.fluent.core.field_data_interfaces import _to_field_name_str diff --git a/src/ansys/fluent/visualization/graphics/graphics_windows.py b/src/ansys/fluent/visualization/graphics/graphics_windows.py index fd04fb6a..09af8199 100644 --- a/src/ansys/fluent/visualization/graphics/graphics_windows.py +++ b/src/ansys/fluent/visualization/graphics/graphics_windows.py @@ -21,6 +21,7 @@ # SOFTWARE. """A wrapper to improve the user interface of graphics.""" + import ansys.fluent.visualization as pyviz from ansys.fluent.visualization.graphics import graphics_windows_manager diff --git a/src/ansys/fluent/visualization/graphics/pyvista/renderer.py b/src/ansys/fluent/visualization/graphics/pyvista/renderer.py index c4fbcb45..08d03c7d 100644 --- a/src/ansys/fluent/visualization/graphics/pyvista/renderer.py +++ b/src/ansys/fluent/visualization/graphics/pyvista/renderer.py @@ -21,6 +21,7 @@ # SOFTWARE. """Module for pyVista windows management.""" + import numpy as np import pyvista as pv diff --git a/src/ansys/fluent/visualization/renderer.py b/src/ansys/fluent/visualization/renderer.py index 27d642c9..01b6eea4 100644 --- a/src/ansys/fluent/visualization/renderer.py +++ b/src/ansys/fluent/visualization/renderer.py @@ -21,6 +21,7 @@ # SOFTWARE. """A wrapper to improve the user interface of graphics.""" + import warnings from ansys.fluent.interface.post_objects.post_object_definitions import (