Skip to content

Commit 66b8e81

Browse files
committed
fix: linting..
1 parent cb14147 commit 66b8e81

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

tests/develop/test_autocomplete_metadata.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,11 @@ def test_autocomplete_output_is_schema_compliant(tmp_path, monkeypatch):
7676
mod.main()
7777

7878
generated = yaml.safe_load(metadata_path.read_text(encoding="utf-8"))
79-
with files("fairmd.lipids.schema_validation.schema").joinpath(
80-
"metadata_schema.json"
81-
).open("r", encoding="utf-8") as f:
79+
with (
80+
files("fairmd.lipids.schema_validation.schema")
81+
.joinpath("metadata_schema.json")
82+
.open("r", encoding="utf-8") as f
83+
):
8284
schema = json.load(f)
8385

8486
errors = sorted(Draft7Validator(schema).iter_errors(generated), key=lambda e: e.path)

0 commit comments

Comments
 (0)