-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpyproject.toml
More file actions
117 lines (102 loc) · 2.29 KB
/
pyproject.toml
File metadata and controls
117 lines (102 loc) · 2.29 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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
[project]
name = "rath"
version = "3.8.0"
description = "async transport-agnostic graphql client"
authors = [{ name = "jhnnsrs", email = "jhnnsrs@gmail.com" }]
requires-python = ">=3.11"
readme = "README.md"
dependencies = [
"koil>=2.0.3",
"graphql-core>=3.2.0,<4",
"pydantic>2",
]
[project.optional-dependencies]
websockets = ["websockets~=10.2"]
aiohttp = [
"aiohttp>=3.8.2,<4",
"certifi>2021",
]
httpx = ["httpx>=0.23.0,<0.24"]
signing = ["cryptography>=41.0.3,<42"]
[tool.uv]
dev-dependencies = [
"httpx>=0.23.0,<0.24",
"autoflake>=1.7.7,<2",
"pytest>=7.2.0,<8",
"testcontainers>=3.7.0,<4",
"pytest-qt>=4.2.0,<5",
"pytest-asyncio>=0.20.2,<0.21",
"aiohttp>=3.8.3,<4",
"websockets~=10.4",
"black>=22.10.0,<23",
"pytest-cov>=4.0.0,<5",
"ruff>0.11",
"cryptography>=41.0.3,<42",
"pyjwt>=2.8.0,<3",
"fakts==1.0.0",
"herre==1.0.0",
"mypy>=1.7.1,<2",
"pyqt5==5.15.11",
"python-semantic-release>=9.21.1",
]
[tool.hatch.build.targets.sdist]
include = ["rath"]
[tool.hatch.build.targets.wheel]
include = ["rath"]
[tool.hatch.build]
include = [
"rath/py.typed"
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.mypy]
plugins = ["pydantic.mypy"]
exclude = ["venv/", "tests/", "examples/"]
ignore_missing_imports = true
[tool.ruff]
extend-select = ["ANN", "D1"]
extend-ignore = ["ANN101", "ANN002", "ANN003", "D100", "ANN401"]
# Exclude a variety of commonly ignored directories.
exclude = [
".bzr",
".direnv",
".eggs",
".git",
".hg",
".mypy_cache",
".nox",
".pants.d",
".pytype",
".ruff_cache",
".svn",
".tox",
".venv",
"__pypackages__",
"_build",
"buck-out",
"build",
"dist",
"node_modules",
"venv",
"tests",
"examples",
]
# Same as Black.
line-length = 300
[[tool.pydoc-markdown.loaders]]
type = "python"
search_path = ["rath"]
[tool.pytest.ini_options]
asyncio_mode = "auto"
qt_api = "pyqt5"
markers = [
"integration: marks tests that require a running server",
"qt: marks tests that require a running qt application",
"public: marks tests that require a public api",
]
[tool.semantic_release]
version_toml = ["pyproject.toml:project.version"]
upload_to_pypi = true
branch = "main"
build_command = "uv build"