python-jsonschema / check-jsonschema

A CLI and set of pre-commit hooks for jsonschema validation with built-in support for GitHub Workflows, Renovate, Azure Pipelines, and more!
https://check-jsonschema.readthedocs.io/en/stable
Other
191 stars 38 forks source link

Improve file handling with lazy reads #363

Closed sirosen closed 7 months ago

sirosen commented 7 months ago

Primarily this changeset introduces lazy file reading to resolve #352. Additionally, it introduces a better caching mechanism to the schema file readers so that schemas read from ephemeral sources (like pipes) can properly be applied to multiple instances.

See also: pallets/click#2645