From 97aedeaea0ecabc1260d31610152663593422867 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 3 Feb 2025 18:18:30 +0000 Subject: [PATCH 1/2] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/astral-sh/ruff-pre-commit: v0.9.2 → v0.9.4](https://github.com/astral-sh/ruff-pre-commit/compare/v0.9.2...v0.9.4) - [github.com/codespell-project/codespell: v2.3.0 → v2.4.1](https://github.com/codespell-project/codespell/compare/v2.3.0...v2.4.1) --- .pre-commit-config.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b7c063c8c7..e006f09613 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -29,7 +29,7 @@ repos: - id: no-commit-to-branch - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.9.2" + rev: "v0.9.4" hooks: - id: ruff types: [file, python] @@ -38,7 +38,7 @@ repos: types: [file, python] - repo: https://github.com/codespell-project/codespell - rev: "v2.3.0" + rev: "v2.4.1" hooks: - id: codespell types_or: [asciidoc, python, markdown, rst] From 967de63e46b49a1ec9c4e39ebb6fa588cf405996 Mon Sep 17 00:00:00 2001 From: Patrick Peglar Date: Tue, 4 Feb 2025 17:37:28 +0000 Subject: [PATCH 2/2] Odd fixes for link + spelling failures. --- docs/src/community/iris_xarray.rst | 2 +- .../userguide/plotting_examples/cube_brewer_cite_contourf.py | 2 +- pyproject.toml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/src/community/iris_xarray.rst b/docs/src/community/iris_xarray.rst index 71585d8b9f..34c9aa9466 100644 --- a/docs/src/community/iris_xarray.rst +++ b/docs/src/community/iris_xarray.rst @@ -141,7 +141,7 @@ output is not fully CF compliant (as-per `the cf checker `_, + providing `support for non-standard calendars `_, however date units may not always be saved correctly. * CF-style coordinate bounds variables are not fully understood. The CF approach where bounds variables do not usually define their units or standard_names can cause diff --git a/docs/src/userguide/plotting_examples/cube_brewer_cite_contourf.py b/docs/src/userguide/plotting_examples/cube_brewer_cite_contourf.py index 4e28510e43..ab171bb6f2 100644 --- a/docs/src/userguide/plotting_examples/cube_brewer_cite_contourf.py +++ b/docs/src/userguide/plotting_examples/cube_brewer_cite_contourf.py @@ -1,4 +1,4 @@ -"""Addind a citation for a plot using iris.plot.citation().""" +"""Adding a citation for a plot using iris.plot.citation().""" import matplotlib.pyplot as plt diff --git a/pyproject.toml b/pyproject.toml index 74e514ad20..b8d2c96359 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -155,7 +155,7 @@ exclude_lines = [ ] [tool.codespell] -ignore-words-list = "alpha-numeric,assertIn,degreee,discontiguities,lazyness,meaned,nin" +ignore-words-list = "alpha-numeric,assertIn,degreee,discontiguities,lazyness,meaned,nin,re-use,re-uses,re-using,re-used,anc,abl" skip = "./CODE_OF_CONDUCT.md,_build,*.css,*.ipynb,*.js,*.html,*.svg,*.xml,.git,generated" [tool.check-manifest]