Skip to content
This repository has been archived by the owner on Nov 7, 2024. It is now read-only.

Commit

Permalink
GO FORMAT YOURSELF (black)
Browse files Browse the repository at this point in the history
  • Loading branch information
cow-bot committed Sep 21, 2023
1 parent 5376d8f commit 0fb03e9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
2 changes: 1 addition & 1 deletion nexus_constructor/json/load_from_json_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
NodeType,
)

DEPENDS_ON_IGNORE = [None, 'None', ".", ""]
DEPENDS_ON_IGNORE = [None, "None", ".", ""]


def _find_shape_information(children: List[Dict]) -> Union[Dict, None]:
Expand Down
7 changes: 1 addition & 6 deletions tests/json/test_load_from_json.py
Original file line number Diff line number Diff line change
Expand Up @@ -351,12 +351,7 @@ def test_GIVEN_json_with_component_depending_on_non_existent_transform_WHEN_load

@pytest.mark.parametrize(
"depends_on_path",
[
".",
"",
'None',
None
],
[".", "", "None", None],
)
def test_GIVEN_json_with_component_with_null_depends_on_WHEN_loaded_THEN_no_effect(
json_dict_with_component, json_reader, depends_on_path
Expand Down

0 comments on commit 0fb03e9

Please sign in to comment.