From f07c599669cd6ab2eb81950523d9f841d9b2319c Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 30 May 2023 04:24:45 +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/charliermarsh/ruff-pre-commit: v0.0.269 → v0.0.270](https://github.com/charliermarsh/ruff-pre-commit/compare/v0.0.269...v0.0.270) --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 5c93ca22e..8b654e799 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -42,7 +42,7 @@ repos: exclude: "asdf/extern/.*" - repo: https://github.com/charliermarsh/ruff-pre-commit - rev: 'v0.0.269' + rev: 'v0.0.270' hooks: - id: ruff args: ["--fix"] From 1093d6484c2bb37f926d21648559158fae526642 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 30 May 2023 04:24:56 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- asdf/_tests/tags/core/tests/test_ndarray.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/asdf/_tests/tags/core/tests/test_ndarray.py b/asdf/_tests/tags/core/tests/test_ndarray.py index da9a0cbdb..5901d9e12 100644 --- a/asdf/_tests/tags/core/tests/test_ndarray.py +++ b/asdf/_tests/tags/core/tests/test_ndarray.py @@ -335,7 +335,7 @@ def test_mask_nan(): def test_string(tmpdir): tree = { "ascii": np.array([b"foo", b"bar", b"baz"]), - "unicode": np.array(["სამეცნიერო", "данные", "வடிவம்"]), # noqa: RUF001 + "unicode": np.array(["სამეცნიერო", "данные", "வடிவம்"]), } helpers.assert_roundtrip_tree(tree, tmpdir)