Skip to content

Address jsonschema-rs backend review feedback#480

Merged
p1c2u merged 2 commits intopoc/rust-backendfrom
copilot/sub-pr-478
Mar 1, 2026
Merged

Address jsonschema-rs backend review feedback#480
p1c2u merged 2 commits intopoc/rust-backendfrom
copilot/sub-pr-478

Conversation

Copy link
Contributor

Copilot AI commented Mar 1, 2026

Fixes several issues flagged in review of the jsonschema-rs backend PR.

Changes

  • Behavior alignment: Remove validate_formats=True from the Rust validator constructor — format validation is disabled by default in the Python jsonschema backend (no format_checker passed), so this prevented transparent backend switching
  • Docstring fix: Correct clsvalidator arg name in JsonschemaRsValidatorWrapper.__init__
  • Docs: Add pip install jsonschema-rs install requirement note to both README.rst and docs/python.rst — the backend raises ImportError at runtime if the package is absent, so this must be documented
  • Style: Replace implicit string concatenation with a single f-string in tests/bench/runner.py
  • Whitespace: Remove trailing whitespace from docs/cli.rst

🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.

…, install docs, validate_formats

Co-authored-by: p1c2u <1679024+p1c2u@users.noreply.github.com>
Copilot AI changed the title [WIP] Update jsonschema-rs backend for performance improvement Address jsonschema-rs backend review feedback Mar 1, 2026
Copilot finished work on behalf of p1c2u March 1, 2026 14:25
@p1c2u p1c2u marked this pull request as ready for review March 1, 2026 14:59
@p1c2u p1c2u merged commit a10dfe6 into poc/rust-backend Mar 1, 2026
26 checks passed
@p1c2u p1c2u deleted the copilot/sub-pr-478 branch March 1, 2026 15:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants