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.20.0
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.21.0
Choose a head ref
  • 12 commits
  • 30 files changed
  • 5 contributors

Commits on Jan 6, 2023

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

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

Commits on Jan 10, 2023

  1. [pre-commit.ci] pre-commit autoupdate (#221)

    updates:
    - [github.com/python-jsonschema/check-jsonschema: 0.19.2 → 0.20.0](0.19.2...0.20.0)
    
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    pre-commit-ci[bot] authored Jan 10, 2023
    Configuration menu
    Copy the full SHA
    4c9c3ac View commit details
    Browse the repository at this point in the history

Commits on Jan 18, 2023

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

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

Commits on Jan 20, 2023

  1. Fix how '--check-metaschema' builds validators (#230)

    * Simplify: remove `make_validator`
    
    This was an intermediate method which doesn't appear to be necessary,
    and leverages caching behavior which is never used. Remove it and move
    the body into `get_validator` (its only caller).
    
    * Minor cleanup to acceptance test naming
    
    * Fix how '--check-metaschema' builds a validator
    
    Metaschema checking was not building the validator correctly.
    Primarily two fixes are applied here:
    - the metaschema's schema dialect is no longer copied from the schema
      being checked, but is taken from the metaschema document
    - metaschema checking now automatically includes format checking and
      applies the CLI parameters for format checking (including the
      ability to disable format checking)
    
    Add test for an invalid format under metaschema. This test requires
    one of the format checking libraries, and therefore drives the need
    for new features in the testsuite, including the addition of config
    for the example file tests. Example file config is schema-validated,
    which serves as another dogfooding self-check.
    
    The test file imitates the driving use-case in #220
    
    The acceptance test definition is refactored to make managing the test
    data a little easier.
    sirosen authored Jan 20, 2023
    Configuration menu
    Copy the full SHA
    eed1aea View commit details
    Browse the repository at this point in the history

Commits on Jan 21, 2023

  1. Fix resolution of format checker classes (#232)

    Use `validator_for` on a dummy schema document to get the relevant
    validator class. This removes maintenance of a dialect table from
    check-jsonschema and fixes some of the dialects being declared
    incorrectly.
    sirosen authored Jan 21, 2023
    Configuration menu
    Copy the full SHA
    cbe7755 View commit details
    Browse the repository at this point in the history
  2. Update and test min dependency versions (#233)

    * Update and test min dependency versions
    
    Add a mindeps build and adjust lower bounds in setup.cfg
    
    * Cleanup tox and CI build config to run mindeps
    
    - cleanup caching config
    - make the mindeps build run on py3.7 only
    - use the setup-python cache
    sirosen authored Jan 21, 2023
    Configuration menu
    Copy the full SHA
    e341e39 View commit details
    Browse the repository at this point in the history

Commits on Jan 24, 2023

  1. Add --color CLI flag, supporting "auto", "never", and "always" (#227)

    * Use `--color=WHEN` style for color CLI argument
    
    * Fix failing pre-commit check
    
    * Address review suggestions
    
    - Use `click.Context.color` as the single source of truth for the color setting.
    - Set the color setting using a callback.
    - Add type hints to `tests/unit/test_cli_parse.py`.
    - Update text color tests to capture the Click context, and verify that its `color` attribute has the expected value.
    - Replaced `TextReporter._style` with `click.style`
    WillDaSilva authored Jan 24, 2023
    Configuration menu
    Copy the full SHA
    3ed4681 View commit details
    Browse the repository at this point in the history
  2. Update changelog & clenaup tests

    Add changelog and doc for `--color`
    
    Remove type annotations from cli parsing tests and simplify
    click.Context capturing.
    sirosen committed Jan 24, 2023
    Configuration menu
    Copy the full SHA
    c39bd81 View commit details
    Browse the repository at this point in the history
  3. Add FAQ page to docs

    sirosen committed Jan 24, 2023
    Configuration menu
    Copy the full SHA
    b2c710a View commit details
    Browse the repository at this point in the history
  4. Add links and flatten changelog toctree

    Update furo to support edit button, add edit button and repo links.
    
    Make the changelog appear as a non-nested item in the toctree setup.
    sirosen committed Jan 24, 2023
    Configuration menu
    Copy the full SHA
    67515c8 View commit details
    Browse the repository at this point in the history
  5. [vendor-schemas] automated update (#234)

    Co-authored-by: sirosen <sirosen@users.noreply.github.com>
    github-actions[bot] and sirosen authored Jan 24, 2023
    Configuration menu
    Copy the full SHA
    0dc50b7 View commit details
    Browse the repository at this point in the history
  6. Bump version for release

    sirosen committed Jan 24, 2023
    Configuration menu
    Copy the full SHA
    fe49fe4 View commit details
    Browse the repository at this point in the history
Loading