From 78e41cd5ddb1bb9d40b699fa1640c2cc8bd1ab23 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 17:22:37 +0000 Subject: [PATCH 1/2] chore: update pre-commit hooks MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [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/asottile/pyupgrade: v3.15.2 → v3.17.0](https://github.com/asottile/pyupgrade/compare/v3.15.2...v3.17.0) - [github.com/psf/black: 24.3.0 → 24.8.0](https://github.com/psf/black/compare/24.3.0...24.8.0) - [github.com/pre-commit/mirrors-mypy: v1.9.0 → v1.11.2](https://github.com/pre-commit/mirrors-mypy/compare/v1.9.0...v1.11.2) - [github.com/PyCQA/flake8: 7.0.0 → 7.1.1](https://github.com/PyCQA/flake8/compare/7.0.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) --- .pre-commit-config.yaml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 3b59a3e..756484b 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -5,7 +5,7 @@ ci: repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: "v4.5.0" + rev: "v5.0.0" hooks: - id: check-added-large-files - id: check-case-conflict @@ -34,18 +34,18 @@ repos: - id: isort - repo: https://github.com/asottile/pyupgrade - rev: "v3.15.2" + rev: "v3.17.0" hooks: - id: pyupgrade args: ["--py38-plus"] - repo: https://github.com/psf/black - rev: "24.3.0" + rev: "24.8.0" hooks: - id: black-jupyter - repo: https://github.com/pre-commit/mirrors-mypy - rev: "v1.9.0" + rev: "v1.11.2" hooks: - id: mypy files: src @@ -58,7 +58,7 @@ repos: args: ["--all"] - repo: https://github.com/PyCQA/flake8 - rev: "7.0.0" + rev: "7.1.1" hooks: - id: flake8 additional_dependencies: [ @@ -81,7 +81,7 @@ repos: stages: [manual] - repo: https://github.com/codespell-project/codespell - rev: "v2.2.6" + rev: "v2.3.0" hooks: - id: codespell args: ["-L", "nd,unparseable,compiletime"] From 4cd0cc9a298e3457d822605cb74521f502f77a16 Mon Sep 17 00:00:00 2001 From: Ian Guinn Date: Mon, 21 Oct 2024 10:51:03 -0400 Subject: [PATCH 2/2] Spelling correction for pre-commit bot --- src/dspeed/processors/gaussian_filter1d.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dspeed/processors/gaussian_filter1d.py b/src/dspeed/processors/gaussian_filter1d.py index d160f8e..13f8222 100644 --- a/src/dspeed/processors/gaussian_filter1d.py +++ b/src/dspeed/processors/gaussian_filter1d.py @@ -30,7 +30,7 @@ # All this code belongs to the team that coded Scipy, found at this link: # https://github.com/scipy/scipy/blob/v1.6.0/scipy/ndimage/filters.py#L210-L260 -# The only thing changed was the calculation of the convulution, which +# The only thing changed was the calculation of the convolution, which # originally called a function from a C library. In this code, the convolution is # performed with NumPy's built in convolution function. from __future__ import annotations