From c3e1f46e02586be75ae055a3d52408492324c639 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 1 Apr 2024 20:31:21 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- doc/conf.py | 1 + examples/cow.py | 1 + setup.py | 1 + tests/test_background_mesh.py | 1 + tetgen/__init__.py | 1 + tetgen/pytetgen.py | 1 + 6 files changed, 6 insertions(+) diff --git a/doc/conf.py b/doc/conf.py index a462707..a67227a 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -1,4 +1,5 @@ """Configuration file for the Sphinx documentation builder.""" + # # This file does only contain a selection of the most common options. For a # full list see the documentation: diff --git a/examples/cow.py b/examples/cow.py index fe6a338..a93e265 100644 --- a/examples/cow.py +++ b/examples/cow.py @@ -4,6 +4,7 @@ Tetrahedralize a cow mesh. """ + # sphinx_gallery_thumbnail_number = 3 import numpy as np import pyvista as pv diff --git a/setup.py b/setup.py index 3104860..e5048fd 100644 --- a/setup.py +++ b/setup.py @@ -1,4 +1,5 @@ """Setup for tetgen.""" + from io import open as io_open import os diff --git a/tests/test_background_mesh.py b/tests/test_background_mesh.py index 8823809..ffa8c6c 100644 --- a/tests/test_background_mesh.py +++ b/tests/test_background_mesh.py @@ -1,4 +1,5 @@ """Test the mesh resizing feature of tetgen with sizing function.""" + from pathlib import Path import tempfile diff --git a/tetgen/__init__.py b/tetgen/__init__.py index af79c27..2276a7c 100644 --- a/tetgen/__init__.py +++ b/tetgen/__init__.py @@ -1,4 +1,5 @@ """Tetgen module.""" + from tetgen import _tetgen from tetgen._version import __version__ from tetgen.pytetgen import TetGen diff --git a/tetgen/pytetgen.py b/tetgen/pytetgen.py index 871f2f9..3c96532 100644 --- a/tetgen/pytetgen.py +++ b/tetgen/pytetgen.py @@ -1,4 +1,5 @@ """Python module to interface with wrapped TetGen C++ code.""" + import ctypes import logging