diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 00e92c3c6..03d171a1a 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -2,7 +2,7 @@ exclude: "asdf/(extern||_jsonschema)/.*" repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.4.0 + rev: v4.5.0 hooks: - id: check-added-large-files - id: check-ast @@ -29,7 +29,7 @@ repos: - id: text-unicode-replacement-char - repo: https://github.com/codespell-project/codespell - rev: v2.2.5 + rev: v2.2.6 hooks: - id: codespell args: ["--write-changes"] @@ -43,7 +43,7 @@ repos: exclude: "asdf/(extern||_jsonschema)/.*" - repo: https://github.com/astral-sh/ruff-pre-commit - rev: 'v0.0.291' + rev: 'v0.0.292' hooks: - id: ruff args: ["--fix"] diff --git a/asdf/_block/manager.py b/asdf/_block/manager.py index 300e5904f..c0c589cc9 100644 --- a/asdf/_block/manager.py +++ b/asdf/_block/manager.py @@ -16,7 +16,7 @@ class ReadBlocks(collections.UserList): A list of ReadBlock instances. A simple list can't be used as other code will need - to genearate a weakref to instances of this class + to generate a weakref to instances of this class (and it is not possible to generate a weakref to a list). """ diff --git a/docs/asdf/extending/resources.rst b/docs/asdf/extending/resources.rst index d460be150..65a611aab 100644 --- a/docs/asdf/extending/resources.rst +++ b/docs/asdf/extending/resources.rst @@ -23,7 +23,7 @@ Installing resources via AsdfConfig The simplest way to install a resource into `asdf` is to add it at runtime using the `AsdfConfig.add_resource_mapping ` method. -For example, the following code istalls a schema for use with the `asdf.AsdfFile` +For example, the following code installs a schema for use with the `asdf.AsdfFile` custom_schema argument: .. code-block:: python