From 91e96dce58aa6346261a70e0399e1bedf6ca6876 Mon Sep 17 00:00:00 2001 From: Stephen Rosen Date: Wed, 23 Sep 2026 00:54:06 -0500 Subject: [PATCH] Update bounds on `click` Also bump `click-type-test`, and remove redundant flag defaults (now that `click-type-test` supports them). --- pyproject.toml | 4 ++-- src/check_jsonschema/cli/main_command.py | 3 --- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index a2e3f94dc..fd87fd87a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -5,7 +5,7 @@ build-backend = "setuptools.build_meta" [dependency-groups] dev = [ "pytest<10", - 'click-type-test==1.3.0;python_version>="3.10"', + 'click-type-test==1.4.0', "coverage<8", "identify>=2.6.9", "pytest-xdist<4", @@ -42,7 +42,7 @@ dependencies = [ "jsonschema>=4.18.0,<5.0", "regress>=2024.11.1", "requests<3.0", - "click>=8,<9", + "click>=8.5,<9", ] [project.readme] diff --git a/src/check_jsonschema/cli/main_command.py b/src/check_jsonschema/cli/main_command.py index d05d8db04..d3a243f03 100644 --- a/src/check_jsonschema/cli/main_command.py +++ b/src/check_jsonschema/cli/main_command.py @@ -119,13 +119,11 @@ def pretty_helptext_list(values: list[str] | tuple[str, ...]) -> str: "Instead of validating the instances against a schema, treat each file as a " "schema and validate them under their matching metaschemas." ), - default=False, ) @click.option( "--no-cache", is_flag=True, help="Disable schema caching. Always download remote schemas.", - default=False, ) @click.option( "--cache-filename", help="Deprecated. This option no longer has any effect." @@ -193,7 +191,6 @@ def pretty_helptext_list(values: list[str] | tuple[str, ...]) -> str: "'--validator-class'" ), is_flag=True, - default=False, ) @click.option( "--validator-class",