Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#6)
Browse files Browse the repository at this point in the history
* [pre-commit.ci] pre-commit autoupdate

updates:
- [github.com/astral-sh/ruff-pre-commit: v0.1.11 → v0.3.4](astral-sh/ruff-pre-commit@v0.1.11...v0.3.4)
- [github.com/numpy/numpydoc: v1.6.0 → v1.7.0rc0](numpy/numpydoc@v1.6.0...v1.7.0rc0)
- [github.com/pre-commit/mirrors-clang-format: v17.0.6 → v18.1.2](pre-commit/mirrors-clang-format@v17.0.6...v18.1.2)
- [github.com/pre-commit/mirrors-mypy: v1.7.0 → v1.9.0](pre-commit/mirrors-mypy@v1.7.0...v1.9.0)
- [github.com/python-jsonschema/check-jsonschema: 0.27.3 → 0.28.0](python-jsonschema/check-jsonschema@0.27.3...0.28.0)

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
pre-commit-ci[bot] authored Mar 31, 2024
1 parent bc9e60d commit 756f123
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.1.11
rev: v0.3.4
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
Expand All @@ -14,7 +14,7 @@ repos:
exclude: README.rst

- repo: https://github.com/numpy/numpydoc
rev: v1.6.0
rev: v1.7.0rc0
hooks:
- id: numpydoc-validation
files: ^src/pytetwild
Expand All @@ -40,7 +40,7 @@ repos:
- id: trailing-whitespace

- repo: https://github.com/pre-commit/mirrors-clang-format
rev: v17.0.6
rev: v18.1.2
hooks:
- id: clang-format
files: |
Expand All @@ -49,7 +49,7 @@ repos:
)$
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.7.0
rev: v1.9.0
hooks:
- id: mypy
exclude: ^(docs/|tests)
Expand All @@ -61,6 +61,6 @@ repos:
]

- repo: https://github.com/python-jsonschema/check-jsonschema
rev: 0.27.3
rev: 0.28.0
hooks:
- id: check-github-workflows
1 change: 1 addition & 0 deletions src/pytetwild/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
"""Wrapper for fTetWild."""

from ._version import __version__ # noqa: F401
from .pytetwild import tetrahedralize, tetrahedralize_pv # noqa: F401
1 change: 1 addition & 0 deletions src/pytetwild/_version.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Contains the pytetwild version."""

from importlib import metadata

__version__ = metadata.version("pytetwild")
1 change: 1 addition & 0 deletions src/pytetwild/pytetwild.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Wrapper for fTetWild."""

import warnings
import numpy as np
from pytetwild import PyfTetWildWrapper # type: ignore
Expand Down

0 comments on commit 756f123

Please sign in to comment.