Skip to content

Commit 7566666

Browse files
[pre-commit.ci] pre-commit autoupdate (#5980)
* [pre-commit.ci] pre-commit autoupdate updates: - [github.com/astral-sh/ruff-pre-commit: v0.4.4 → v0.4.7](astral-sh/ruff-pre-commit@v0.4.4...v0.4.7) - [github.com/codespell-project/codespell: v2.2.6 → v2.3.0](codespell-project/codespell@v2.2.6...v2.3.0) * fix codespell failures (#5985) --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Bill Little <bill.james.little@gmail.com>
1 parent b15a1f6 commit 7566666

File tree

11 files changed

+17
-17
lines changed

11 files changed

+17
-17
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ repos:
2929
- id: no-commit-to-branch
3030

3131
- repo: https://github.com/astral-sh/ruff-pre-commit
32-
rev: "v0.4.4"
32+
rev: "v0.4.7"
3333
hooks:
3434
- id: ruff
3535
types: [file, python]
@@ -38,7 +38,7 @@ repos:
3838
types: [file, python]
3939

4040
- repo: https://github.com/codespell-project/codespell
41-
rev: "v2.2.6"
41+
rev: "v2.3.0"
4242
hooks:
4343
- id: codespell
4444
types_or: [asciidoc, python, markdown, rst]

docs/src/copyright.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@ are licensed under the UK's Open Government Licence:
2727

2828
(C) British Crown Copyright |copyright_years|
2929

30-
You may use and re-use the information featured on this website (not including logos) free of
30+
You may use and reuse the information featured on this website (not including logos) free of
3131
charge in any format or medium, under the terms of the
3232
`Open Government Licence <https://www.nationalarchives.gov.uk/doc/open-government-licence>`_.
3333
We encourage users to establish hypertext links to this website.
3434

35-
Any email enquiries regarding the use and re-use of this information resource should be
35+
Any email enquiries regarding the use and reuse of this information resource should be
3636
sent to: psi@nationalarchives.gsi.gov.uk.

docs/src/further_topics/dask_best_practices/dask_bags_and_greed.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Here is a journey that demonstrates:
77

88
* How to apply dask.bags to an existing script
99
* The equal importance of optimisation of non-parallel parts of a script
10-
* Protection against multiple softwares trying to manage parallelism
10+
* Protection against multiple software trying to manage parallelism
1111
simultaneously
1212

1313

docs/src/further_topics/netcdf_io.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ creation of the :data:`iris.fileformats.netcdf.loader.CHUNK_CONTROL` class.
6666
Custom Chunking: Set
6767
^^^^^^^^^^^^^^^^^^^^
6868

69-
There are three context manangers within :data:`~iris.fileformats.netcdf.loader.CHUNK_CONTROL`. The most basic is
69+
There are three context managers within :data:`~iris.fileformats.netcdf.loader.CHUNK_CONTROL`. The most basic is
7070
:meth:`~iris.fileformats.netcdf.loader.ChunkControl.set`. This allows you to specify the chunksize for each dimension,
7171
and to specify a ``var_name`` specifically to change.
7272

docs/src/further_topics/ugrid/partner_packages.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ Applications
9393
* Regrid unstructured to structured.
9494
* Regrid with dask integration, computing in parallel and maintaining data
9595
laziness.
96-
* | Save a prepared regridder for re-use in subsequent runs.
96+
* | Save a prepared regridder for reuse in subsequent runs.
9797
| Regridders can even be re-used on sources with different masks - a
9898
significant efficiency gain.
9999

docs/src/further_topics/which_regridder_to_use.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ of ``kg m-2`` as an area weighted sum. With ``mdtol=0`` this will consistently
341341
underestimate this total and with ``mdtol=1`` will consistently overestimate. This can
342342
be somewhat mitigated with a choice of ``mdtol=0.5``, but you should still be aware of
343343
potential inaccuracies. It should be noted that this choice of ``mdtol`` is highly
344-
context dependent and there wil likely be occasions where a choice of ``mdtol=0`` or
344+
context dependent and there will likely be occasions where a choice of ``mdtol=0`` or
345345
``mdtol=1`` is more suitable. The important thing is to *know your data, know what*
346346
*you're doing with your data and know how your regridder fits in this process*.
347347

docs/src/whatsnew/3.6.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ This document explains the changes made to Iris for this release
1515

1616
We're so excited about our recent support for **delayed saving of lazy data
1717
to netCDF** (:pull:`5191`) that we're celebrating this important step change
18-
in behavour with its very own dedicated release 🥳
18+
in behaviour with its very own dedicated release 🥳
1919

2020
By using ``iris.save(..., compute=False)`` you can now save to multiple NetCDF files
2121
in parallel. See the new ``compute`` keyword in :func:`iris.fileformats.netcdf.save`.
22-
This can share and re-use any common (lazy) result computations, and it makes much
22+
This can share and reuse any common (lazy) result computations, and it makes much
2323
better use of resources during any file-system waiting (i.e., it can use such periods
2424
to progress the *other* saves).
2525

lib/iris/analysis/calculus.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -760,7 +760,7 @@ def spatial_vectors_with_phenom_name(i_cube, j_cube, k_cube=None):
760760
The cube standard names must match one of the combinations in
761761
:data:`DIRECTIONAL_NAMES`.
762762
763-
This routine is designed to identify the vector quantites which each
763+
This routine is designed to identify the vector quantities which each
764764
of the cubes provided represent and return a list of their 3d
765765
spatial dimension names and associated phenomenon.
766766
For example, given a cube of "u wind" and "v wind" the return value

lib/iris/fileformats/netcdf/saver.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -458,7 +458,7 @@ def write(
458458
cube : :class:`iris.cube.Cube`
459459
A :class:`iris.cube.Cube` to be saved to a netCDF file.
460460
local_keys : iterable of str, optional
461-
An interable of cube attribute keys. Any cube attributes with
461+
An iterable of cube attribute keys. Any cube attributes with
462462
matching keys will become attributes on the data variable rather
463463
than global attributes.
464464
@@ -2441,7 +2441,7 @@ def save(
24412441
Underlying netCDF file format, one of 'NETCDF4', 'NETCDF4_CLASSIC',
24422442
'NETCDF3_CLASSIC' or 'NETCDF3_64BIT'. Default is 'NETCDF4' format.
24432443
local_keys : iterable of str, optional
2444-
An interable of cube attribute keys. Any cube attributes with
2444+
An iterable of cube attribute keys. Any cube attributes with
24452445
matching keys will become attributes on the data variable rather
24462446
than global attributes.
24472447

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,8 +153,8 @@ exclude_lines = [
153153
]
154154

155155
[tool.codespell]
156-
ignore-words-list = "alpha-numeric,degreee,discontiguities,lazyness,meaned,nin"
157-
skip = "_build,*.css,*.ipynb,*.js,*.html,*.svg,*.xml,.git,generated"
156+
ignore-words-list = "alpha-numeric,assertIn,degreee,discontiguities,lazyness,meaned,nin"
157+
skip = "./CODE_OF_CONDUCT.md,_build,*.css,*.ipynb,*.js,*.html,*.svg,*.xml,.git,generated"
158158

159159
[tool.check-manifest]
160160
ignore = [

0 commit comments

Comments
 (0)