-
Notifications
You must be signed in to change notification settings - Fork 221
/
pyproject.toml
65 lines (57 loc) · 1.72 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
[project]
name = "orjson"
repository = "https://github.com/ijl/orjson"
requires-python = ">=3.8"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"License :: OSI Approved :: MIT License",
"Operating System :: MacOS",
"Operating System :: Microsoft :: Windows",
"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 :: 3.13",
"Programming Language :: Python :: 3.14",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python",
"Programming Language :: Rust",
"Typing :: Typed",
]
[project.urls]
Documentation = "https://github.com/ijl/orjson"
Changelog = "https://github.com/ijl/orjson/blob/master/CHANGELOG.md"
[build-system]
build-backend = "maturin"
requires = ["maturin>=1,<2"]
[tool.maturin]
python-source = "pysrc"
include = [
{ format = "sdist", path = ".cargo/*" },
{ format = "sdist", path = "build.rs" },
{ format = "sdist", path = "Cargo.lock" },
{ format = "sdist", path = "include/**/*" },
]
[tool.ruff]
line-length = 88
target-version = "py38"
[tool.ruff.lint]
select = [
"I",
]
ignore = [
"E501", # line too long
"F601", # Dictionary key literal ... repeated
]
[tool.ruff.lint.isort]
known-first-party = ["orjson"]
[tool.mypy]
python_version = "3.8"
[[tool.mypy.overrides]]
module = ["dateutil", "pytz"]
ignore_missing_imports = true