-
Notifications
You must be signed in to change notification settings - Fork 56
Comparing changes
Open a pull request
base repository: python-jsonschema/check-jsonschema
base: 0.15.1
head repository: python-jsonschema/check-jsonschema
compare: 0.16.0
- 18 commits
- 24 files changed
- 5 contributors
Commits on May 29, 2022
-
[vendor-schemas] automated update (#94)
Co-authored-by: sirosen <sirosen@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for d0f2b9a - Browse repository at this point
Copy the full SHA d0f2b9aView commit details
Commits on May 30, 2022
-
Add support for reading TOML instances using tomli
- Add a TOML module alongside the YAML and JSON5 ones, with an enabled flag and a "missing support message" like JSON5 - Refactor the JSON5 unit testing to be more general "optional parser" testing - Add an acceptance test for successful TOML parsing and validation - Add `-tomli` to tox factors in tox.ini and CI - Add TOML to optional parsers doc In order to support `tomli` behavior, the `open()` call for instance files had to switch from `encoding="utf-8"` to using `"rb"` mode. This should not have any user-facing impact, but it is noted in the changelog to improve visibility in case there are unexpected issues.
Configuration menu - View commit details
-
Copy full SHA for 3e74c4a - Browse repository at this point
Copy the full SHA 3e74c4aView commit details -
Fix type checking for new jsonschema annotations
One fix is a `type:ignore` comment for a bad annotation which was introduced and then fixed. The other is the addition of an `if` check for an optional list which was being treated as non-optional.
Configuration menu - View commit details
-
Copy full SHA for 59bcb31 - Browse repository at this point
Copy the full SHA 59bcb31View commit details -
[pre-commit.ci] pre-commit autoupdate (#96)
updates: - [github.com/python-jsonschema/check-jsonschema: 0.15.0 → 0.15.1](0.15.0...0.15.1) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 5c72655 - Browse repository at this point
Copy the full SHA 5c72655View commit details
Commits on May 31, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 4628d39 - Browse repository at this point
Copy the full SHA 4628d39View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5fa9c47 - Browse repository at this point
Copy the full SHA 5fa9c47View commit details -
[vendor-schemas] automated update (#97)
Co-authored-by: sirosen <sirosen@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 3e0d79c - Browse repository at this point
Copy the full SHA 3e0d79cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 929b381 - Browse repository at this point
Copy the full SHA 929b381View commit details
Commits on Jun 1, 2022
-
Improve format support, especially for TOML
Improved format support includes better specifying which checkers to use based on the JSON Schema draft/version in use. Without this, attempting to format-validate TOML data which parses as datetime or time types is difficult, as the draft03 time format checker was used by default. In order to better exercise this behavior, `jsonschema[format]` is added to the tox matrix and run with and without the TOML tests.
Configuration menu - View commit details
-
Copy full SHA for ec0ab99 - Browse repository at this point
Copy the full SHA ec0ab99View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9a3ebd5 - Browse repository at this point
Copy the full SHA 9a3ebd5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 42fb537 - Browse repository at this point
Copy the full SHA 42fb537View commit details -
Cleanup mypy issues, slightly improve coverage
After the TOML and formatting changes, there were a few typing mistakes introduced. Notably TextIO switched to BinaryIO in instance loaders. Also, improve comments on toml datetime conversion, and cleanup "schema_attr" to be named "schema_dialect" for clarity.
Configuration menu - View commit details
-
Copy full SHA for 3ea3d9d - Browse repository at this point
Copy the full SHA 3ea3d9dView commit details -
Changes by create-pull-request action (#99)
* [vendor-schemas] automated update * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci Co-authored-by: sirosen <sirosen@users.noreply.github.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 66e4674 - Browse repository at this point
Copy the full SHA 66e4674View commit details
Commits on Jun 2, 2022
-
Configuration menu - View commit details
-
Copy full SHA for aec38b3 - Browse repository at this point
Copy the full SHA aec38b3View commit details -
Tests behavior when `jsonschema[format]` is installed.
Configuration menu - View commit details
-
Copy full SHA for 7abc27b - Browse repository at this point
Copy the full SHA 7abc27bView commit details
Commits on Jun 6, 2022
-
Update vendor-schemas to run pre-commit fixers
After a schema is downloaded in the vendor-schemas job, it could be fixed by pre-commit.ci automatically. The result is an extra push and noise on the auto-update PR. It's better if the CI job automatically runs pre-commit on the results (or if the vendored schemas were ignored under pre-commit; nearly equivalent). This also ensures that if the only change is that the downloaded schema reverts the autofixing done under pre-commit, nothing will be recorded as changed. Update the gitlab schema by running `make vendor-schemas`.
Configuration menu - View commit details
-
Copy full SHA for f7a56bf - Browse repository at this point
Copy the full SHA f7a56bfView commit details -
Update dependencies and adjust coverage
- Update to 'ruamel.yaml' v0.17.21 - Switch from 'pytest-cov' to plain 'coverage'
Configuration menu - View commit details
-
Copy full SHA for a41e1eb - Browse repository at this point
Copy the full SHA a41e1ebView commit details -
Configuration menu - View commit details
-
Copy full SHA for b103ecf - Browse repository at this point
Copy the full SHA b103ecfView commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff 0.15.1...0.16.0