-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
137 lines (125 loc) · 1.98 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
137
[tool.poetry]
name = "fs-schema-validator"
version = "0.1.0"
description = ""
authors = ["Federico Ravasio <[email protected]>"]
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.9"
click = "~8.1"
parsita = "~1.7"
pillow = "~11.1"
pillow-avif-plugin = "^1.4.6"
pydantic = "~2.10"
pygltflib = "~1.16"
pyyaml = "~6.0"
sortedcontainers = "~2.4"
svglib = "~1.5"
[tool.poetry.group.dev.dependencies]
deptry = "^0.23.0"
mypy = "~1.15"
orjson = "~3.10"
pytest = "~8.3"
rich = "~13.9"
ruff = "~0.9.7"
types-pyyaml = "~6.0.12"
[tool.poetry.scripts]
validate_schema = 'fs_schema_validator.__main__:validate'
[tool.pytest.ini_options]
addopts = "-vv"
pythonpath = "."
[tool.ruff]
line-length = 100
target-version = "py312"
[tool.ruff.format]
docstring-code-format = true
[tool.ruff.lint]
select = [
"ARG",
"ASYNC",
"B",
"C",
"C4",
"C90",
"DTZ",
"E",
"ERA",
"F",
"FA",
"FURB",
"I",
"ICN",
"INP",
"ISC",
"LOG",
"N",
"NPY",
"PD",
"PERF",
"PIE",
"PL",
"PT",
"PTH",
"PYI",
"Q",
"R",
"RET",
"RSE",
"RUF",
"S",
"SIM",
"SLOT",
"T20",
"TC",
"TID",
"UP",
"W",
]
ignore = [
"C408",
"C901",
"E501",
"ISC001",
"PLR0911",
"PLR0912",
"PLR0913",
"PLR0915",
"PLR2004",
"S101",
"S603",
"S607",
"SIM108",
"TC001",
"TC002",
"TC003",
]
[tool.mypy]
check_untyped_defs = true
disallow_incomplete_defs = true
disallow_subclassing_any = true
disallow_untyped_calls = true
disallow_untyped_decorators = true
disallow_untyped_defs = true
follow_imports = 'silent'
pretty = true
no_implicit_reexport = true
show_error_codes = true
strict = true
strict_optional = true
warn_redundant_casts = true
warn_unreachable = true
warn_unused_configs = true
warn_unused_ignores = true
plugins = ["pydantic.mypy"]
[[tool.mypy.overrides]]
module = [
"parsita",
"pillow_avif",
"pygltflib",
"sortedcontainers",
"svglib",
]
ignore_missing_imports = true
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"