diff --git a/asdf/_tests/test_lazy_nodes.py b/asdf/_tests/test_lazy_nodes.py index 8cf915c8b..4b96ca23e 100644 --- a/asdf/_tests/test_lazy_nodes.py +++ b/asdf/_tests/test_lazy_nodes.py @@ -1,6 +1,5 @@ import collections import copy -import json import weakref import numpy as np @@ -111,17 +110,17 @@ def test_copy(node, copy_operation): assert copied_node == node -@pytest.mark.parametrize( - "node", - [ - _lazy_nodes.AsdfDictNode({"a": 1, "b": 2}), - _lazy_nodes.AsdfListNode([1, 2, 3]), - _lazy_nodes.AsdfOrderedDictNode({"a": 1, "b": 2}), - ], -) -def test_json_serialization(node): - rt_node = json.loads(json.dumps(node)) - assert rt_node == node +# @pytest.mark.parametrize( +# "node", +# [ +# _lazy_nodes.AsdfDictNode({"a": 1, "b": 2}), +# _lazy_nodes.AsdfListNode([1, 2, 3]), +# _lazy_nodes.AsdfOrderedDictNode({"a": 1, "b": 2}), +# ], +# ) +# def test_json_serialization(node): +# rt_node = json.loads(json.dumps(node)) +# assert rt_node == node def test_cache_clear_on_close(tmp_path): diff --git a/pyproject.toml b/pyproject.toml index 89186c08f..27ecf1480 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -163,6 +163,9 @@ exclude_lines = [ [tool.ruff] target-version = "py38" line-length = 120 +extend-exclude = ["asdf/_extern/*", "asdf/_jsonschema/*", "docs/*"] + +[tool.ruff.lint] select = [ # minimal set to match pre-ruff behavior "E", # pycodestyle @@ -176,7 +179,6 @@ extend-ignore = [ "S310", # URL open for permitted schemes "RUF012", # mutable-class-default (typing related) ] -extend-exclude = ["asdf/_extern/*", "asdf/_jsonschema/*", "docs/*"] [tool.ruff.per-file-ignores] "test_*.py" = ["S101"]