-
Notifications
You must be signed in to change notification settings - Fork 40
/
pyproject.toml
75 lines (65 loc) · 1.65 KB
/
pyproject.toml
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
[build-system]
requires = ["setuptools>=61.2"]
build-backend = "setuptools.build_meta"
[project]
name = "check-jsonschema"
version = "0.29.4"
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.8"
dependencies = [
'importlib-resources>=1.4.0;python_version<"3.9"',
'tomli>=2.0;python_version<"3.11"',
"ruamel.yaml==0.18.6",
"jsonschema>=4.18.0,<5.0",
"regress>=0.4.0",
"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.optional-dependencies]
dev = [
"pytest<9",
'click-type-test==1.0.0;python_version>="3.10"',
"coverage<8",
"pytest-xdist<4",
"responses==0.25.3",
]
docs = [
"sphinx<9",
"sphinx-issues<6",
"furo==2024.8.6",
]
[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',
]