From d4e14d570bf45f86120e2f612176b13e73808a78 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 7 Oct 2024 22:53:21 +0000 Subject: [PATCH] [pre-commit.ci] pre-commit autoupdate (#75) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/psf/black: 23.12.1 → 24.10.0](https://github.com/psf/black/compare/23.12.1...24.10.0) - [github.com/PyCQA/flake8: 6.1.0 → 7.1.1](https://github.com/PyCQA/flake8/compare/6.1.0...7.1.1) - [github.com/codespell-project/codespell: v2.2.6 → v2.3.0](https://github.com/codespell-project/codespell/compare/v2.2.6...v2.3.0) - [github.com/pre-commit/pre-commit-hooks: v4.5.0 → v5.0.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.5.0...v5.0.0) - [github.com/python-jsonschema/check-jsonschema: 0.27.3 → 0.29.3](https://github.com/python-jsonschema/check-jsonschema/compare/0.27.3...0.29.3) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> --- .pre-commit-config.yaml | 10 +++++----- doc/conf.py | 1 + tests/test_background_mesh.py | 1 + tetgen/__init__.py | 1 + tetgen/pytetgen.py | 1 + 5 files changed, 9 insertions(+), 5 deletions(-) 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