-
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.10.2
head repository: python-jsonschema/check-jsonschema
compare: 0.11.0
- 16 commits
- 39 files changed
- 4 contributors
Commits on Feb 1, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 41c7415 - Browse repository at this point
Copy the full SHA 41c7415View commit details
Commits on Feb 4, 2022
-
Switch to pre-commit.ci ; Remove pre-commit from github actions (#35)
* Remove pre-commit from github actions pre-commit.ci will handle running our hooks. As a result, it's no longer useful to have `tox -e lint` either. Update `make lint` to run pre-commit directly. * Bump self-version in pre-commit config
Configuration menu - View commit details
-
Copy full SHA for 92d63fb - Browse repository at this point
Copy the full SHA 92d63fbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 195e071 - Browse repository at this point
Copy the full SHA 195e071View commit details
Commits on Feb 7, 2022
-
[pre-commit.ci] pre-commit autoupdate (#36)
updates: - [github.com/pre-commit/pre-commit-hooks.git: v3.4.0 → v4.1.0](https://github.com/pre-commit/pre-commit-hooks.git/compare/v3.4.0...v4.1.0) - https://github.com/python/black → https://github.com/psf/black - [github.com/psf/black: 21.5b0 → 22.1.0](psf/black@21.5b0...22.1.0) - https://gitlab.com/pycqa/flake8 → https://github.com/PyCQA/flake8 - [github.com/PyCQA/flake8: 3.9.1 → 4.0.1](PyCQA/flake8@3.9.1...4.0.1) - https://github.com/timothycrosley/isort → https://github.com/PyCQA/isort - [github.com/PyCQA/isort: 5.8.0 → 5.10.1](PyCQA/isort@5.8.0...5.10.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 7eadd48 - Browse repository at this point
Copy the full SHA 7eadd48View commit details
Commits on Feb 10, 2022
-
Use
requeststo make HTTP requests (#37)This lets us use `responses` for testing as well. Request retries are included in the behavior, but done manually rather than via urllib3 Retry configurations. closes #34
Configuration menu - View commit details
-
Copy full SHA for 09f248f - Browse repository at this point
Copy the full SHA 09f248fView commit details -
Configuration menu - View commit details
-
Copy full SHA for b41f27f - Browse repository at this point
Copy the full SHA b41f27fView commit details -
Configuration menu - View commit details
-
Copy full SHA for ec2e6fb - Browse repository at this point
Copy the full SHA ec2e6fbView commit details -
[vendor-schemas] automated update (#39)
Co-authored-by: sirosen <sirosen@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 557535a - Browse repository at this point
Copy the full SHA 557535aView commit details
Commits on Feb 12, 2022
-
[vendor-schemas] automated update (#40)
Co-authored-by: sirosen <sirosen@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 4f68b6f - Browse repository at this point
Copy the full SHA 4f68b6fView commit details -
Switch hooks to always use vendored schemas
Remove `--schemafile` argument from hooks, and switch from `--failover-builtin-schema` to `--builtin-schema`. In order to continue to have a vendoring workflow, `vendor-schemas.py` needs a new source from whence it can pull the schema names and URLs. The mapping in question now lives in a dedicated module, `check_jsonschema.catalog`, in a dict. `vendor-schemas.py` imports this module as its data source. resolves #38
Configuration menu - View commit details
-
Copy full SHA for 7bec2b5 - Browse repository at this point
Copy the full SHA 7bec2b5View commit details -
Add tests which run all configured hooks
In order to run these without subprocs, a minor adjustment is needed to how exits are handled. Inspired by click's "standalone mode", give the main entrypoint an `exit=False` option.
Configuration menu - View commit details
-
Copy full SHA for c6ab5f2 - Browse repository at this point
Copy the full SHA c6ab5f2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 44d7182 - Browse repository at this point
Copy the full SHA 44d7182View commit details
Commits on Feb 13, 2022
-
Add
--show-all-validation-errorsThis is a flag to make the checker print all of the validation errors encountered, including both the 'best_match' and a walk of all errors. Move error printing into the utils module, to keep the SchemaChecker simpler. Add tests to cover the error printing functions.
Configuration menu - View commit details
-
Copy full SHA for 146ca96 - Browse repository at this point
Copy the full SHA 146ca96View commit details -
This feature is built to allow us to define transforms which are applied to any instancefile after loading, and before validation. In the case of azure-pipelines, we have a reference implementation in the azure-pipelines-language-server to look at. The `transforms` subpackage contains a reimplementation of that same "parser" in python. For now, only named transforms are supported, and the only implemented transform is "azure-pipelines". Update the hook for pre-commit to use `--data-transform azure-pipelines`. Include a test pulled from the pipelines-language-server (with license) to confirm the result.
Configuration menu - View commit details
-
Copy full SHA for 31c97e4 - Browse repository at this point
Copy the full SHA 31c97e4View commit details -
Adjust printing of validation errors
If `err.context` is populated, always print the best match error, even when the `--show-all-validation-errors` flag has not been provided. Update changelog with notes on anyOf/oneOf error handling -- the cases which populate `err.context`
Configuration menu - View commit details
-
Copy full SHA for a49bee3 - Browse repository at this point
Copy the full SHA a49bee3View commit details -
Add a new bump-version.py script for updating the version number in setup.cfg, readme, and changelog.
Configuration menu - View commit details
-
Copy full SHA for bd77683 - Browse repository at this point
Copy the full SHA bd77683View 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.10.2...0.11.0