-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
82 lines (72 loc) · 1.91 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
[project]
name = "pyanilist"
version = "0.6.1"
description = "A Python wrapper for the AniList API"
authors = [{ name = "Ravencentric", email = "[email protected]" }]
readme = "README.md"
license = "MIT"
requires-python = ">=3.10"
keywords = ["anilist", "anime", "python"]
classifiers = [
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Typing :: Typed",
]
dependencies = [
"backports-strenum>=1.3.1 ; python_full_version < '3.11'",
"boltons>=24.1.0",
"httpx>=0.27.2",
"pycountry>=24.6.1",
"pydantic>=2.9.2",
"pydantic-extra-types>=2.10.0",
"typing-extensions>=4.12.2",
]
[project.urls]
Homepage = "https://pyanilist.ravencentric.cc"
Documentation = "https://pyanilist.ravencentric.cc"
Repository = "https://github.com/Ravencentric/pyanilist"
[dependency-groups]
dev = [
"coverage>=7.6.7",
"docstring-parser>=0.16",
"mkdocs-autorefs>=1.2.0",
"mkdocs-material>=9.5.44",
"mkdocstrings[python]>=0.27.0",
"mypy>=1.13.0",
"pytest>=8.3.3",
"pytest-httpx>=0.33.0",
"pytest-recording>=0.13.2",
"ruff>=0.7.4",
"tomli>=2.1.0",
"types-boltons>=24.1.0.20241113",
]
[tool.ruff]
line-length = 120
[tool.ruff.lint]
extend-select = ["I", "DTZ", "RUF", "UP", "N", "D4"]
fixable = ["ALL"]
[tool.ruff.lint.extend-per-file-ignores]
"tests/*" = ["D"]
[tool.ruff.lint.isort]
required-imports = ["from __future__ import annotations"]
[tool.mypy]
strict = true
pretty = true
enable_error_code = ["ignore-without-code"]
exclude = "tests/"
[tool.coverage.run]
omit = [
"src/pyanilist/_version.py",
"src/pyanilist/_compat.py",
"tests/*"
]
[tool.coverage.report]
exclude_also = [
"if TYPE_CHECKING:", # Only used for type-hints
]
[build-system]
build-backend = "hatchling.build"
requires = ["hatchling"]