fix: require the jsonschema format checkers

This commit is contained in:
Abdessamad Derraz committed 2026-10-06 09:45:25 +02:00
1 parent a0af1b141e
commit d610aad990
7 files changed
+59 -5

No files matched your search

+8
View File
@@ -318,5 +318,13 @@ class RepeatedDestinations(unittest.TestCase):
self.assertEqual(diff.files_changed, ["pce/syscard3.pce"])
class PinsWithExtras(unittest.TestCase):
def test_an_extras_bracket_keeps_its_pin(self):
from check_freshness import parse_pip_pins # noqa: PLC0415
pins = parse_pip_pins(' run: pip install pyyaml "jsonschema[format-nongpl]==4.26.0"')
self.assertEqual(pins["jsonschema"], "==4.26.0")
if __name__ == "__main__":
unittest.main()