Skip to content

Commit

Permalink
ruff: Update source file for ruff formatting changes
Browse files Browse the repository at this point in the history
Signed-off-by: BJ Hargrave <[email protected]>
  • Loading branch information
bjhargrave committed Jan 10, 2025
1 parent 031bb18 commit c175da3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/test_versions.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,19 +31,19 @@ def test_schema_base(self) -> None:
versions = schema_versions()
assert_that(versions).is_not_none().is_not_empty()
for i in range(len(versions)):
version = base.joinpath(f"v{i+1}")
version = base.joinpath(f"v{i + 1}")
self._load_schemas(version)

def test_schema_versions(self) -> None:
versions = schema_versions()
assert_that(versions).is_not_none().is_not_empty()
for i, version in enumerate(versions):
assert_that(version).has_name(f"v{i+1}")
assert_that(version).has_name(f"v{i + 1}")
self._load_schemas(version)

def test_importlib_schema(self) -> None:
versions = schema_versions()
assert_that(versions).is_not_none().is_not_empty()
for i in range(len(versions)):
version = importlib.resources.files(f"instructlab.schema.v{i+1}")
version = importlib.resources.files(f"instructlab.schema.v{i + 1}")
self._load_schemas(version)

0 comments on commit c175da3

Please sign in to comment.