-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
59 lines (52 loc) · 1.31 KB
/
pyproject.toml
File metadata and controls
59 lines (52 loc) · 1.31 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
[project]
name = "playerdatapy"
version = "0.1.0"
description = "Python client for the PlayerData GraphQL API"
authors = [{ name = "PlayerData Engineering", email = "dev@playerdata.com" }]
readme = "README.md"
requires-python = ">=3.10,<3.14"
dependencies = [
"graphql-core>=3.2.0",
"httpx>=0.24.0",
"oauthlib>=3.2.0",
"polars>=1.37.1",
"pydantic>=2.0.0",
"requests-oauthlib>=2.0.0",
]
[dependency-groups]
codegen = [
"ariadne-codegen>=0.17.2",
]
test = [
"ipykernel>=7.2.0",
"pytest>=9.0.2",
"pytest-asyncio>=1.3.0",
"ruff>=0.15.1",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatchling.build.targets.wheel]
packages = ["playerdatapy"]
[tool.autoflake]
check = false
in-place = true
recursive = true
remove-all-unused-imports = true
remove-duplicate-keys = true
remove-unused-variables = true
ignore-init-module-imports = true
[tool.ariadne-codegen]
schema_path = "schema.graphql"
target_package_name = "playerdatapy"
enable_custom_operations = true
client_file_name = "gqlclient"
client_class_name = "GraphqlClient"
[tool.ruff.lint]
ignore = ["F405", "F403"]
# Ariadne Codegen doesn't produce ruff lint compliant code :(
exclude = [
"playerdatapy/custom_queries.py",
"playerdatapy/custom_mutations.py",
"playerdatapy/custom_fields.py",
]