-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
64 lines (54 loc) · 1.48 KB
/
pyproject.toml
File metadata and controls
64 lines (54 loc) · 1.48 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
[build-system]
requires = ["uv_build>=0.9.25,<0.10.0"]
build-backend = "uv_build"
[project]
name = "aio-lanraragi"
version = "0.1.22"
authors = [
{name="psilabs-dev"}
]
description = "An asynchronous Python API client for LANraragi, written with aiohttp and pydantic for type validation."
license = { file = "LICENSE" }
readme = "README.md"
requires-python = ">=3.12, <=3.14"
dependencies = [
"aiohttp>=3.12.15",
"pydantic>=2.0.0",
]
[dependency-groups]
dev = [
"pytest>=8.4.2",
"pytest-asyncio>=1.2.0",
"ruff>=0.13.1",
]
[project.urls]
Homepage = "https://github.com/psilabs-dev/aio-lanraragi"
[project.optional-dependencies]
speedups = [
"aiohttp[speedups]>=3.12.15",
]
[tool.pytest.ini_options]
addopts = [
"--import-mode=importlib"
]
filterwarnings = [
"error:Unclosed client session.*:ResourceWarning",
"error::pytest.PytestUnraisableExceptionWarning",
]
log_cli_format = "%(asctime)s [%(levelname)8s] %(message)s (%(filename)s:%(lineno)s)"
log_cli_date_format = "%H:%M:%S"
log_format = "%(asctime)s [%(levelname)8s] %(message)s (%(filename)s:%(lineno)s)"
log_date_format = "%H:%M:%S"
[tool.ruff]
show-fixes = true
target-version = "py312"
[tool.ruff.lint]
select = ["A", "BLE", "F", "W", "E", "I", "UP", "C4", "FA", "ISC", "ICN", "SIM", "NPY"]
extend-select = ["ASYNC", "C4", "SIM"]
ignore = ["E501"]
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401"]
[tool.uv.workspace]
members = ["integration_tests"]
[tool.uv.build-backend]
module-name = "lanraragi"