Skip to content

Commit 50e7d2a

Browse files
author
oerc0042
committed
ruff linting and checking fixes
1 parent d58851f commit 50e7d2a

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

isatools/convert/isatab2cedar.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@
1212
from uuid import uuid4
1313

1414
from jsonschema import Draft4Validator, FormatChecker
15-
from referencing.jsonschema import DRAFT4
15+
from jsonschema.exceptions import ValidationError
1616
from referencing import Registry
17+
from referencing.jsonschema import DRAFT4
1718

18-
from jsonschema.exceptions import ValidationError
1919
from isatools.io import isatab_parser
2020

2121
__author__ = "agbeltran"

isatools/isajson/validate.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
Don't forget to read the ISA-JSON spec:
55
https://isa-specs.readthedocs.io/en/latest/isajson.html
66
"""
7-
87
from __future__ import absolute_import
98

109
import glob
@@ -15,7 +14,7 @@
1514
from io import StringIO
1615
from pathlib import Path
1716

18-
from jsonschema import Draft4Validator, ValidationError, Draft202012Validator, FormatChecker
17+
from jsonschema import Draft4Validator, Draft202012Validator, FormatChecker, ValidationError
1918
from referencing import Registry
2019
from referencing.jsonschema import DRAFT4, DRAFT202012
2120

0 commit comments

Comments
 (0)