-
-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathpyproject.toml
More file actions
46 lines (40 loc) · 1.46 KB
/
Copy pathpyproject.toml
File metadata and controls
46 lines (40 loc) · 1.46 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
[project]
name = "heliotrope"
version = "8.2.2"
description = "Hitomi.la mirror api"
readme = "README.md"
requires-python = ">=3.13"
dependencies = [
"greenlet>=3.5.1",
"sanic>=25.12.1",
"sanic-ext>=24.12.0",
"sentry-sdk>=2.60.0",
"yggdrasil[infrastructure]",
]
[dependency-groups]
style = [
"ruff>=0.15.16",
]
test = [
"httpx>=0.28.1",
"pytest>=8.4.2",
"pytest-asyncio>=1.4.0",
"pytest-cov>=7.0.0",
]
type = [
"mypy>=2.1.0",
"pyright>=1.1.410",
]
[tool.pyright]
include = ["heliotrope"]
typeCheckingMode = "strict"
[tool.ruff]
include = ["heliotrope/**/*.py"]
lint.extend-select = ["I"]
lint.select = []
[tool.mypy]
packages = ["heliotrope"]
disable_error_code = ["attr-defined", "union-attr", "name-defined", "used-before-def", "call-arg", "arg-type", "call-overload", "valid-type", "var-annotated", "override", "return", "empty-body", "return-value", "assignment", "method-assign", "type-var", "operator", "index", "list-item", "dict-item", "typeddict-item", "typeddict-unknown-key", "has-type", "import", "no-redef", "func-returns-value", "abstract", "type-abstract", "safe-super", "valid-newtype", "exit-return", "name-match", "literal-required", "no-overload-impl", "unused-coroutine", "top-level-await", "assert-type", "truthy-function", "str-format", "str-bytes-safe", "annotation-unchecked", "syntax", "misc"]
disallow_untyped_defs = true
[tool.uv.sources]
yggdrasil = { git = "https://github.com/Saebasol/Yggdrasil", rev = "2.1.1" }