-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
96 lines (84 loc) · 1.88 KB
/
Copy pathpyproject.toml
File metadata and controls
96 lines (84 loc) · 1.88 KB
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
[build-system]
requires = ["setuptools>=69", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "safejson"
version = "0.1.0"
description = "Hardened JSON parser: configurable depth/size limits, duplicate-key detection, NaN/Infinity rejection, type whitelisting. Zero deps, fully typed."
readme = "README.md"
license = "MIT"
requires-python = ">=3.9"
authors = [{ name = "nripankadas07" }]
keywords = [
"json",
"safe-json",
"secure",
"parser",
"hardened",
"limits",
"depth",
"duplicate-keys",
]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Security",
"Topic :: Text Processing",
"Typing :: Typed",
]
[project.urls]
Homepage = "https://github.com/nripankadas07/safejson"
Repository = "https://github.com/nripankadas07/safejson"
[project.optional-dependencies]
dev = [
"build>=1.2",
"mypy>=1.10",
"pytest>=8",
"pytest-cov>=5",
"ruff>=0.5",
]
[tool.setuptools]
package-dir = { "" = "src" }
[tool.setuptools.packages.find]
where = ["src"]
[tool.setuptools.package-data]
safejson = ["py.typed"]
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "-ra --strict-markers --strict-config"
[tool.mypy]
strict = true
files = ["src/safejson"]
mypy_path = "src"
[tool.ruff]
line-length = 88
target-version = "py39"
[tool.ruff.lint]
select = [
"B",
"C4",
"E",
"F",
"I",
"N",
"PERF",
"PYI",
"RET",
"RUF",
"SIM",
"UP",
"W",
]
[tool.coverage.run]
branch = true
source = ["safejson"]
[tool.coverage.report]
fail_under = 100
show_missing = true
skip_covered = true