Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 3 additions & 6 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@ build:
tools:
python: "3.13"

python:
install:
- method: pip
path: .
extra_requirements:
- docs
jobs:
install:
- pip install . --group 'docs'
30 changes: 15 additions & 15 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,21 @@
requires = ["setuptools>=61.2"]
build-backend = "setuptools.build_meta"

[dependency-groups]
dev = [
"pytest<9",
'click-type-test==1.1.0;python_version>="3.10"',
"coverage<8",
"identify>=2.6.9",
"pytest-xdist<4",
"responses==0.25.7",
]
docs = [
"sphinx<9",
"sphinx-issues<6",
"furo==2025.7.19",
]

[project]
name = "check-jsonschema"
version = "0.33.3"
Expand Down Expand Up @@ -32,21 +47,6 @@ content-type = "text/markdown"
[project.urls]
Homepage = "https://github.com/python-jsonschema/check-jsonschema"

[project.optional-dependencies]
dev = [
"pytest<9",
'click-type-test==1.1.0;python_version>="3.10"',
"coverage<8",
"identify>=2.6.9",
"pytest-xdist<4",
"responses==0.25.7",
]
docs = [
"sphinx<9",
"sphinx-issues<6",
"furo==2025.7.19",
]

[project.scripts]
check-jsonschema = "check_jsonschema:main"

Expand Down
4 changes: 2 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ labels =
[testenv]
description = "run tests with pytest"
usedevelop = true
extras = dev
dependency_groups = dev
deps =
# attrs v23.2.0 is needed for mindeps because jsonschema==4.18.0
# is uses `hash=True` which was deprecated after this version
Expand Down Expand Up @@ -73,7 +73,7 @@ commands = pyright src/ {posargs}
[testenv:docs]
description = "build docs with sphinx"
basepython = python3.10
extras = docs
dependency_groups = docs
allowlist_externals = rm
changedir = docs/
# clean the build dir before rebuilding
Expand Down
Loading