-
Notifications
You must be signed in to change notification settings - Fork 13
/
pyproject.toml
111 lines (95 loc) · 2.26 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
103
104
105
106
107
108
109
110
111
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.poetry]
name = "aiographql-client"
packages = [
{ include = "aiographql", from = "src" }
]
version = "1.2.0a0"
description = "An asyncio GraphQL client built on top of aiohttp and graphql-core-next"
authors = [
"Arun Neelicattu <arun.neelicattu@gmail.com>"
]
license = "MIT"
readme = "README.md"
repository = "https://github.com/abn/aiographql-client"
keywords = [
"aiohttp",
"asyncio",
"client",
"graphql",
"graphql-core",
"graphql-core-next",
]
classifiers = [
"Topic :: Software Development :: Libraries :: Python Modules",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3 :: Only",
"Framework :: AsyncIO"
]
[tool.poetry.dependencies]
python = "^3.8"
cafeteria-asyncio = "^0.3"
aiohttp = "^3.5"
graphql-core = "^3.0"
ujson = ">=2"
[tool.poetry.dev-dependencies]
coverage = { version = "^7.4", extras = ["toml"]}
pytest = "^8.1"
pytest-asyncio = "^0.23"
pytest-cov = "^5.0"
pytest-mock = "^3.14"
[tool.black]
line-length = 88
[tool.isort]
profile = "black"
src_paths = ["src", "test"]
known_first_party = "aiographql"
[tool.pytest.ini_options]
minversion = "6.0"
asyncio_mode = "auto"
addopts = "--cov --cov-append --cov-report=term"
testpaths = [
"tests",
]
[tool.coverage.run]
branch = true
parallel = true
data_file = ".coverage/data"
source = [
"aiographql",
]
omit = [
"tests/*",
]
[tool.coverage.paths]
source = [
"src",
]
[tool.coverage.report]
skip_empty = true
ignore_errors = true
# Regexes for lines to exclude from consideration
exclude_lines = [
# Have to re-enable the standard pragma
"pragma: no cover",
# Don't complain about missing debug-only code:
"def __repr__",
"if self.debug",
# Don't complain if tests don't hit defensive assertion code:
"raise AssertionError",
"raise NotImplementedError",
# Don't complain if non-runnable code isn't run:
"if 0:",
"if __name__ == .__main__.:",
"if TYPE_CHECKING:",
]
[tool.coverage.html]
directory = ".coverage/html"
[tool.coverage.xml]
output = ".coverage/coverage.xml"
[tool.coverage.json]
output = ".coverage/coverage.json"