-
Notifications
You must be signed in to change notification settings - Fork 178
/
pyproject.toml
89 lines (80 loc) · 1.95 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "ariadne"
description = "Ariadne is a Python library for implementing GraphQL servers."
authors = [{ name = "Mirumee Software", email = "hello@mirumee.com" }]
dynamic = ["version"]
readme = "README.md"
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Software Development :: Libraries :: Python Modules",
]
dependencies = [
"graphql-core>=3.2.0,<3.3",
"starlette>0.17,<1.0",
"typing_extensions>=3.6.0",
]
[project.optional-dependencies]
dev = ["black", "mypy", "pylint"]
test = [
"pytest",
"pytest-asyncio",
"pytest-benchmark",
"pytest-cov",
"pytest-mock",
"freezegun",
"snapshottest",
"werkzeug",
"httpx",
"opentracing",
"python-multipart>=0.0.5",
"aiodataloader",
"graphql-sync-dataloaders;python_version>\"3.7\"",
]
asgi-file-uploads = ["python-multipart>=0.0.5"]
tracing = ["opentracing"]
[project.urls]
Home = "https://ariadnegraphql.org"
Documentation = "https://ariadnegraphql.org/docs/"
Source = "https://github.com/mirumee/ariadne"
[tool.hatch.version]
path = "ariadne/__init__.py"
[tool.hatch.envs.default]
features = ["dev", "test"]
[tool.hatch.envs.default.scripts]
test = "coverage run -m pytest"
[tool.black]
line-length = 88
target-version = ['py36', 'py37', 'py38']
include = '\.pyi?$'
exclude = '''
/(
\.eggs
| \.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
| snapshots
)/
'''
[tool.pytest.ini_options]
asyncio_mode = "strict"
testpaths = ["tests"]
[tool.coverage.run]
source = ["ariadne", "tests"]