1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77
|
[build-system]
requires = ["setuptools>=61.2"]
build-backend = "setuptools.build_meta"
[dependency-groups]
dev = [
"pytest<9",
'click-type-test==1.3.0;python_version>="3.10"',
"coverage<8",
"identify>=2.6.9",
"pytest-xdist<4",
"responses==0.25.8",
]
docs = [
"sphinx<9",
"sphinx-issues<6",
"furo==2025.9.25",
]
[project]
name = "check-jsonschema"
version = "0.34.1"
description = "A jsonschema CLI and pre-commit hook"
authors = [
{ name = "Stephen Rosen", email = "sirosen0@gmail.com" },
]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3",
]
requires-python = ">=3.9"
dependencies = [
"ruamel.yaml>=0.18.10,<0.19.0",
"jsonschema>=4.18.0,<5.0",
"regress>=2024.11.1",
"requests<3.0",
"click>=8,<9",
]
[project.readme]
file = "README.md"
content-type = "text/markdown"
[project.urls]
Homepage = "https://github.com/python-jsonschema/check-jsonschema"
[project.scripts]
check-jsonschema = "check_jsonschema:main"
[tool.setuptools]
include-package-data = true
[tool.setuptools.packages.find]
where = ["src"]
namespaces = false
[tool.isort]
profile = "black"
[tool.mypy]
# strict = true # TODO: enable
disallow_untyped_defs = true
ignore_missing_imports = true
warn_unreachable = true
warn_no_return = true
[tool.pytest.ini_options]
filterwarnings = [
"error",
# dateutil has a Python 3.12 compatibility issue.
'ignore:datetime\.datetime\.utcfromtimestamp\(\) is deprecated:DeprecationWarning',
]
addopts = [
"--color=yes",
]
|