-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpyproject.toml
102 lines (89 loc) · 2.11 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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
[tool.poetry]
name = "rath"
version = "1.0.0"
description = "async transport-agnostic graphql client"
authors = ["jhnnsrs <[email protected]>"]
readme = "README.md"
packages = [{ include = "rath" }]
[tool.poetry.dependencies]
python = "^3.8"
koil = ">=1.0.0"
graphql-core = "^3.2.0"
pydantic = ">2"
websockets = { version = "^10.2", optional = true }
aiohttp = { version = "^3.8.2", optional = true }
certifi = { version = ">2021", optional = true }
httpx = { version = "^0.23.0", optional = true }
cryptography = { version = "^41.0.3", optional = true }
[tool.poetry.extras]
websockets = ["websockets"]
aiohttp = ["aiohttp", "certifi"]
httpx = ["httpx"]
signing = ["cryptography"]
[tool.poetry.group.dev.dependencies]
httpx = "^0.23.0"
autoflake = "^1.7.7"
pytest = "^7.2.0"
testcontainers = "^3.7.0"
pytest-qt = "^4.2.0"
pytest-asyncio = "^0.20.2"
aiohttp = "^3.8.3"
websockets = "^10.4"
black = "^22.10.0"
pytest-cov = "^4.0.0"
ruff = "^0.0.282"
cryptography = "^41.0.3"
pyjwt = "^2.8.0"
fakts = "1.0.0"
herre = "1.0.0"
mypy = "^1.7.1"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.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.pydoc-markdown.renderer]
type = "docusaurus"
docs_base_path = "website/docs"