Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ repos:


- repo: https://github.com/astral-sh/ruff-pre-commit
rev: "v0.15.12"
rev: "v0.16.1"
hooks:
- id: ruff-check
types: [file, python]
Expand All @@ -49,7 +49,7 @@ repos:
types: [file, python]

- repo: https://github.com/codespell-project/codespell
rev: "v2.4.2"
rev: "v2.4.3"
hooks:
- id: codespell
types_or: [asciidoc, python, markdown, rst]
Expand All @@ -58,7 +58,7 @@ repos:


- repo: https://github.com/pycqa/isort
rev: '9.0.0a3'
rev: '8.0.1'
hooks:
- id: isort
name: isort (cython)
Expand All @@ -72,7 +72,7 @@ repos:
types: [file, python]

- repo: https://github.com/pre-commit/mirrors-mypy
rev: 'v1.20.2'
rev: 'v2.3.0'
hooks:
- id: mypy
exclude: 'noxfile\.py|docs/conf\.py'
Expand All @@ -84,7 +84,7 @@ repos:
- id: validate-pyproject

- repo: https://github.com/scientific-python/cookie
rev: 2026.04.04
rev: 2026.06.18
hooks:
- id: sp-repo-review
additional_dependencies: ["repo-review[cli]"]
Expand Down
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,9 @@ ignore = [
"D212", # Multi-line docstring summary should start at the first line
]

[tool.ruff.lint.flake8-copyright]
notice-rgx = "(?i)copyright.*python-stratify contributors"

[tool.ruff.lint.isort]
force-sort-within-sections = true
# Change to match specific package name:
Expand Down
4 changes: 4 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Copyright python-stratify contributors
#
# This file is part of python-stratify and is released under the BSD license.
# See LICENSE in the root of the repository for full licensing details.
import os
from pathlib import Path
import sys
Expand Down
4 changes: 4 additions & 0 deletions src/stratify/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Copyright python-stratify contributors
#
# This file is part of python-stratify and is released under the BSD license.
# See LICENSE in the root of the repository for full licensing details.
from ._bounded_vinterp import interpolate_conservative # noqa: F401
from ._version import version as __version__ # noqa: F401
from ._vinterp import * # noqa: F403
4 changes: 4 additions & 0 deletions src/stratify/_bounded_vinterp.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Copyright python-stratify contributors
#
# This file is part of python-stratify and is released under the BSD license.
# See LICENSE in the root of the repository for full licensing details.
import numpy as np

from ._conservative import conservative_interpolation
Expand Down
4 changes: 4 additions & 0 deletions src/stratify/tests/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Copyright python-stratify contributors
#
# This file is part of python-stratify and is released under the BSD license.
# See LICENSE in the root of the repository for full licensing details.
4 changes: 4 additions & 0 deletions src/stratify/tests/performance.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Copyright python-stratify contributors
#
# This file is part of python-stratify and is released under the BSD license.
# See LICENSE in the root of the repository for full licensing details.
"""Functions that may be used to measure performance of a component."""

import dask.array as da
Expand Down
4 changes: 4 additions & 0 deletions src/stratify/tests/test_bounded_vinterp.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Copyright python-stratify contributors
#
# This file is part of python-stratify and is released under the BSD license.
# See LICENSE in the root of the repository for full licensing details.
import unittest

import numpy as np
Expand Down
4 changes: 4 additions & 0 deletions src/stratify/tests/test_vinterp.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Copyright python-stratify contributors
#
# This file is part of python-stratify and is released under the BSD license.
# See LICENSE in the root of the repository for full licensing details.
import unittest

import dask.array as da
Expand Down
Loading