-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathpyproject.toml
More file actions
80 lines (70 loc) · 2.05 KB
/
Copy pathpyproject.toml
File metadata and controls
80 lines (70 loc) · 2.05 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "themeparks"
version = "2.0.0"
description = "Official SDK for the ThemeParks.wiki API"
readme = "README.md"
requires-python = ">=3.9"
license = { text = "MIT" }
authors = [{ name = "ThemeParks.wiki contributors" }]
keywords = ["themeparks", "disney", "universal", "wait-times", "api"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Typing :: Typed",
]
dependencies = [
"httpx>=0.27",
"pydantic>=2.6",
"typing-extensions>=4.10",
"eval-type-backport>=0.2; python_version < '3.10'",
]
[project.urls]
Homepage = "https://api.themeparks.wiki"
Source = "https://github.com/ThemeParks/ThemeParks_Python"
Issues = "https://github.com/ThemeParks/ThemeParks_Python/issues"
[project.optional-dependencies]
dev = [
"pytest>=8",
"pytest-asyncio>=0.23",
"pytest-recording>=0.13",
"ruff>=0.4",
"mypy>=1.10",
"datamodel-code-generator[http]>=0.25",
]
docs = [
"mkdocs>=1.5",
"mkdocs-material>=9.5",
"mkdocstrings[python]>=0.24",
]
[tool.hatch.build.targets.wheel]
packages = ["themeparks"]
[tool.hatch.build.targets.sdist]
include = ["themeparks", "README.md", "LICENSE", "CHANGELOG.md", "MIGRATION.md"]
[tool.pytest.ini_options]
testpaths = ["tests/unit"]
asyncio_mode = "auto"
[tool.ruff]
line-length = 100
target-version = "py39"
[tool.ruff.lint]
select = ["E", "F", "W", "I", "N", "UP", "B", "A", "SIM", "PL"]
[tool.ruff.lint.per-file-ignores]
"tests/**" = ["PLR2004", "F401", "A004"]
"themeparks/_errors.py" = ["A001", "UP045"]
"themeparks/_transport.py" = ["A004"]
"themeparks/__init__.py" = ["A004"]
"themeparks/_generated/*.py" = ["N815", "F401"]
[tool.mypy]
python_version = "3.9"
strict = true
packages = ["themeparks"]