diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 34f685c..5fd8b72 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -12,7 +12,7 @@ repos: - id: isort - repo: https://github.com/psf/black - rev: 23.12.1 + rev: 24.10.0 hooks: - id: black args: @@ -26,12 +26,12 @@ repos: exclude: pyvista/plotting/charts.py - repo: https://github.com/PyCQA/flake8 - rev: 6.1.0 + rev: 7.1.1 hooks: - id: flake8 - repo: https://github.com/codespell-project/codespell - rev: v2.2.6 + rev: v2.3.0 hooks: - id: codespell args: ["--toml", "pyproject.toml"] @@ -45,7 +45,7 @@ repos: exclude: "examples/" - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.5.0 + rev: v5.0.0 hooks: - id: check-merge-conflict - id: debug-statements @@ -53,6 +53,6 @@ repos: args: [--branch, main] - repo: https://github.com/python-jsonschema/check-jsonschema - rev: 0.27.3 + rev: 0.29.3 hooks: - id: check-github-workflows 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/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