-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
136 lines (123 loc) · 3.06 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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
[tool.poetry]
name = "pysimdjson-schemaful"
version = "0.3.0"
description = "Schema-aware pysimdjson loader for efficient parsing of large excessive inputs."
authors = ["Tzoiker <[email protected]>"]
repository = "https://github.com/tzoiker/pysimdjson-schemaful"
license = "MIT"
classifiers = [
"Development Status :: 2 - Pre-Alpha",
"Intended Audience :: Developers",
"Intended Audience :: Information Technology",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python",
"Topic :: Internet",
"Topic :: Software Development",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Utilities",
"Typing :: Typed",
]
readme = "README.md"
packages = [
{include = "simdjson_schemaful"}
]
[tool.commitizen]
version_provider = "poetry"
version_scheme = "pep440"
tag_format = "v$version"
changelog_incremental = true
version_files = [
"simdjson_schemaful/__version__.py",
]
[[tool.poetry.source]]
name = "pypi"
priority = "primary"
[tool.poetry.dependencies]
python = ">=3.8,<3.13"
pysimdjson = [
{version=">=2,<7", python=">=3.8,<3.9"},
{version=">=3,<7", python=">=3.9,<3.11"},
# version 4 does not build for 3.11 for some reason
{version=">=3,!=4.*,<7", python=">=3.11,<3.12"},
{version=">=6,<7", python=">=3.12,<3.13"},
]
pydantic = { version = ">=1,<3", optional = true }
[tool.poetry.extras]
pydantic = ["pydantic"]
[tool.poetry.group.dev.dependencies]
attrs = "^23.1.0"
black = "^23.10.0"
commitizen = "^3.12.0"
markdown-pytest = "^0.3.0"
mypy = "^1.0"
orjson = "^3.9.9"
pre-commit = "^3.3.1"
pydantic = "^1.0"
pytest = "^7.4.2"
pytest-cov = "^4.1"
ruff = "^0.0.291"
tox = "^4.0"
[tool.mypy]
plugins = "pydantic.mypy"
allow_subclassing_any = true
allow_untyped_calls = true
allow_untyped_decorators = true
ignore_missing_imports = true
implicit_reexport = true
pretty = true
show_error_codes = true
strict = true
warn_return_any = false
files = [
"simdjson_schemaful",
]
[tool.pydantic-mypy]
init_forbid_extra = true
init_typed = true
warn_required_dynamic_aliases = true
warn_untyped_fields = true
[tool.pytest.ini_options]
python_files = "test_*"
python_functions = "test_*"
python_classes = "Test*"
addopts = "-p no:cacheprovider"
[tool.coverage.report]
skip_empty = true
[tool.coverage.run]
branch = true
source = ["simdjson_schemaful"]
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.ruff]
line-length = 88
target-version = "py38"
select = [
"BLE",
"C90",
"E",
"F",
"G",
"I",
"ICN",
"ISC",
"PLE",
"Q",
"RUF006",
"RUF100",
"T10",
"T20",
"TID",
"UP",
"W",
]