forked from strawberry-graphql/strawberry
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
145 lines (134 loc) Β· 4.25 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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
[tool.poetry]
name = "strawberry-graphql"
packages = [ { include = "strawberry" } ]
version = "0.90.1"
description = "A library for creating GraphQL APIs"
authors = ["Patrick Arminio <[email protected]>"]
license = "MIT"
readme = "README.md"
keywords = ["grapqhl", "api", "rest", "starlette", "async"]
homepage = "https://strawberry.rocks/"
repository = "https://github.com/strawberry-graphql/strawberry"
documentation = "https://strawberry.rocks/"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Libraries :: Python Modules",
"License :: OSI Approved :: MIT License",
]
include = ["strawberry/py.typed"]
[build-system]
requires = ["poetry>=0.12"]
build-backend = "poetry.masonry.api"
[tool.poetry.dependencies]
python = "^3.7"
starlette = {version = ">=0.13.6,<0.17.0", optional = true}
click = {version = ">=7.0,<9.0", optional = true}
pygments = "^2.3"
uvicorn = {version = ">=0.11.6,<0.16.0", optional = true}
django = {version = ">=2,<4", optional = true}
graphql-core = "~3.1.0"
asgiref = {version = "^3.2", optional = true}
flask = {version = "^1.1", optional = true}
typing_extensions = ">=3.7.4,<5.0.0"
opentelemetry-api = {version = "<2", optional = true}
opentelemetry-sdk = {version = "<2", optional = true}
chalice = {version = "^1.22", optional = true}
python-dateutil = "^2.7.0"
cached-property = "^1.5.2"
pydantic = {version = "<2", optional = true}
python-multipart = "^0.0.5"
sanic = {version = ">=20.12.2,<22.0.0", optional = true}
aiohttp = {version = "^3.7.4.post0", optional = true}
fastapi = {version = ">=0.65.2", optional = true}
sentinel = "^0.3.0"
[tool.poetry.dev-dependencies]
pytest = "^6.2"
pytest-emoji = "^0.2.0"
flake8 = "^4.0"
black = {version = "^21.11b1", allow-prereleases = true}
isort = "^5.10.1"
pytest-asyncio = "^0.16.0"
pytest-cov = "^3.0"
mypy = "^0.910"
flake8-bugbear = "^21.9"
flake8-eradicate = "^1.2.0"
pytest-mypy-plugins = "^1.9"
pytest-mock = "^3.6"
pytest-django = {version = "^4.4"}
asgiref = "^3.2"
pytest-flask = {version = "^1.2.0"}
flask = {version = "^1.1"}
chalice = {version = "^1.22"}
requests = "^2.26.0"
pre-commit = "^2.15.0"
pytest-benchmark = "^3.4.1"
freezegun = "^1.1.0"
opentelemetry-api = "<2"
opentelemetry-sdk = "<2"
flake8-isort = "^4.1.1"
flake8-black = "^0.2.1"
django = {version = ">=2,<4", optional = false}
pydantic = {version = "<2", optional = false}
email-validator = {version = "^1.1.3", optional = false}
starlette = ">=0.13.6,<0.17.0"
uvicorn = ">=0.11.6,<0.16.0"
sanic = ">=20.12.2,<22.0.0"
aiohttp = "^3.7.4.post0"
pytest-aiohttp = "^0.3.0"
types-ujson = "^4.2.0"
types-typed-ast = "^1.5.0"
types-toml = "^0.10.0"
types-setuptools = "^57.4.3"
types-requests = "^2.26.1"
types-python-dateutil = "^2.8.3"
types-freezegun = "^1.1.3"
types-chardet = "^4.0.0"
types-certifi = "^2021.10.8"
types-aiofiles = "^0.7.0"
sanic-testing = "^0.7.0"
fastapi = {version = ">=0.65.0", optional = false}
pytest-xprocess = "^0.18.1"
[tool.poetry.extras]
aiohttp = ["aiohttp", "pytest-aiohttp"]
asgi = ["starlette"]
debug-server = ["starlette", "uvicorn"]
django = ["django", "pytest-django", "asgiref"]
flask = ["flask", "pytest-flask"]
opentelemetry = ["opentelemetry-api", "opentelemetry-sdk"]
pydantic = ["pydantic"]
sanic = ["sanic"]
fastapi = ["fastapi"]
chalice = ["chalice"]
[tool.poetry.scripts]
strawberry = "strawberry.cli:run"
[tool.isort]
src_paths = ["strawberry", "tests", "scripts"]
profile = "black"
indent = 4
combine_star = true
combine_as_imports = true
lines_after_imports = 2
known_django = ["django"]
known_graphql = ["graphql"]
known_pytest = ["pytest"]
known_first_party = ["strawberry"]
sections = ["FUTURE", "STDLIB", "PYTEST", "THIRDPARTY", "DJANGO", "GRAPHQL", "FIRSTPARTY", "LOCALFOLDER"]
[tool.pytest.ini_options]
addopts = "-s --emoji --mypy-ini-file=mypy_tests.ini --benchmark-disable"
DJANGO_SETTINGS_MODULE = "tests.django.django_settings"
testpaths = ["tests/"]
markers = ["django"]
[tool.autopub]
git-username = "Botberry"
git-email = "[email protected]"
project-name = "π"
append-github-contributor = true
[tool.pyright]
include = ["strawberry"]
exclude = ["**/__pycache__",]
reportMissingImports = true
reportMissingTypeStubs = false
pythonVersion = "3.7"
stubPath = ""