Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: python-jsonschema/check-jsonschema
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 0.15.1
Choose a base ref
...
head repository: python-jsonschema/check-jsonschema
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 0.16.0
Choose a head ref
  • 18 commits
  • 24 files changed
  • 5 contributors

Commits on May 29, 2022

  1. [vendor-schemas] automated update (#94)

    Co-authored-by: sirosen <sirosen@users.noreply.github.com>
    github-actions[bot] and sirosen authored May 29, 2022
    Configuration menu
    Copy the full SHA
    d0f2b9a View commit details
    Browse the repository at this point in the history

Commits on May 30, 2022

  1. 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.
    sirosen committed May 30, 2022
    Configuration menu
    Copy the full SHA
    3e74c4a View commit details
    Browse the repository at this point in the history
  2. 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.
    sirosen committed May 30, 2022
    Configuration menu
    Copy the full SHA
    59bcb31 View commit details
    Browse the repository at this point in the history
  3. [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>
    pre-commit-ci[bot] authored May 30, 2022
    Configuration menu
    Copy the full SHA
    5c72655 View commit details
    Browse the repository at this point in the history

Commits on May 31, 2022

  1. Configuration menu
    Copy the full SHA
    4628d39 View commit details
    Browse the repository at this point in the history
  2. Minor change

    mondeja committed May 31, 2022
    Configuration menu
    Copy the full SHA
    5fa9c47 View commit details
    Browse the repository at this point in the history
  3. [vendor-schemas] automated update (#97)

    Co-authored-by: sirosen <sirosen@users.noreply.github.com>
    github-actions[bot] and sirosen authored May 31, 2022
    Configuration menu
    Copy the full SHA
    3e0d79c View commit details
    Browse the repository at this point in the history
  4. Restore simple TOML test

    sirosen committed May 31, 2022
    Configuration menu
    Copy the full SHA
    929b381 View commit details
    Browse the repository at this point in the history

Commits on Jun 1, 2022

  1. 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.
    sirosen committed Jun 1, 2022
    Configuration menu
    Copy the full SHA
    ec0ab99 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9a3ebd5 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    42fb537 View commit details
    Browse the repository at this point in the history
  4. 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.
    sirosen committed Jun 1, 2022
    Configuration menu
    Copy the full SHA
    3ea3d9d View commit details
    Browse the repository at this point in the history
  5. 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>
    3 people authored Jun 1, 2022
    Configuration menu
    Copy the full SHA
    66e4674 View commit details
    Browse the repository at this point in the history

Commits on Jun 2, 2022

  1. Configuration menu
    Copy the full SHA
    aec38b3 View commit details
    Browse the repository at this point in the history
  2. Add format checking to CI

    Tests behavior when `jsonschema[format]` is installed.
    sirosen committed Jun 2, 2022
    Configuration menu
    Copy the full SHA
    7abc27b View commit details
    Browse the repository at this point in the history

Commits on Jun 6, 2022

  1. 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`.
    sirosen committed Jun 6, 2022
    Configuration menu
    Copy the full SHA
    f7a56bf View commit details
    Browse the repository at this point in the history
  2. Update dependencies and adjust coverage

    - Update to 'ruamel.yaml' v0.17.21
    - Switch from 'pytest-cov' to plain 'coverage'
    sirosen committed Jun 6, 2022
    Configuration menu
    Copy the full SHA
    a41e1eb View commit details
    Browse the repository at this point in the history
  3. Bump version for release

    sirosen committed Jun 6, 2022
    Configuration menu
    Copy the full SHA
    b103ecf View commit details
    Browse the repository at this point in the history
Loading