Skip to content

Commit 484f4b8

Browse files
committed
Avoid including check-jsonschema in test dependencies
Run check-jsonschema using uv tool in order to decouple it from our own test environment. See: python-jsonschema/check-jsonschema#259
1 parent 3f9b273 commit 484f4b8

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.config/requirements-test.txt

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
ansi2html >= 1.8.0
22
ansible-lint >= 6.12.1
33
black
4-
check-jsonschema
54
coverage[toml]
65
docker >= 7.1.0 # testing
76
filelock >= 3.9.0

tests/unit/model/v2/test_schema.py

+3
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@ def test_molecule_schema(resources_folder_path: Path) -> None:
3737
"""
3838
app = get_app(Path())
3939
cmd = [
40+
"uv",
41+
"tool",
42+
"run",
4043
"check-jsonschema",
4144
"-v",
4245
"--schemafile",

0 commit comments

Comments
 (0)