forked from strawberry-graphql/strawberry
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
123 lines (114 loc) · 3.64 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
[tool.poetry]
name = "strawberry-graphql"
packages = [ { include = "strawberry" } ]
version = "0.69.0"
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 = [
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Libraries :: Python Modules"
]
include = ["strawberry/py.typed"]
[tool.poetry.dependencies]
python = "^3.7"
starlette = {version = ">=0.13.6,<0.15.0", optional = true}
click = {version = "^7.0", optional = true}
hupper = "^1.5"
pygments = "^2.3"
uvicorn = {version = ">=0.11.6,<0.14.0", optional = true}
django = {version = ">=2,<4", optional = true}
graphql-core = {version = "^3.1.0"}
asgiref = {version = "^3.2", optional = true}
flask = {version = "^1.1", optional = true}
typing_extensions = "^3.10.0"
opentelemetry-api = {version = "^0.17b0", optional = true}
opentelemetry-sdk = {version = "^0.17b0", optional = true}
python-dateutil = "^2.7.0"
cached-property = "^1.5.2"
pydantic = {version = "^1.6.1", optional = true}
python-multipart = "^0.0.5"
sanic = {version = "^20.12.2", optional = true}
aiohttp = {version = "^3.7.4.post0", optional = true}
[tool.poetry.dev-dependencies]
pytest = "^6.2"
pytest-emoji = "^0.2.0"
flake8 = "^3.9"
black = {version = "^21.6b0", allow-prereleases = true}
isort = "^5.9.2"
pytest-asyncio = "^0.15.1"
pytest-cov = "^2.12"
mypy = "^0.910"
flake8-bugbear = "^21.4"
flake8-eradicate = "^1.1.0"
pytest-mypy-plugins = "^1.7"
pytest-mock = "^3.6"
pytest-django = {version = "^4.4"}
asgiref = "^3.2"
pytest-flask = {version = "^1.2.0"}
flask = {version = "^1.1"}
requests = "^2.25.1"
pre-commit = "^2.13.0"
pytest-benchmark = "^3.4.1"
freezegun = "^1.1.0"
opentelemetry-api = "^0.17b0"
opentelemetry-sdk = "^0.17b0"
flake8-isort = "^4.0.0"
flake8-black = "^0.2.1"
django = {version = ">=2,<4", optional = false}
pydantic = {version = "^1.6.1", optional = false}
email-validator = {version = "^1.1.3", optional = false}
starlette = ">=0.13.6,<0.15.0"
uvicorn = ">=0.11.6,<0.14.0"
sanic = "^20.12.2"
aiohttp = "^3.7.4.post0"
pytest-aiohttp = "^0.3.0"
types-ujson = "^0.1.1"
types-typed-ast = "^1.4.2"
types-toml = "^0.1.3"
types-setuptools = "^57.0.0"
types-requests = "^2.25.0"
types-python-dateutil = "^0.1.4"
types-freezegun = "^0.1.4"
types-chardet = "^0.1.3"
types-certifi = "^0.1.4"
types-aiofiles = "^0.1.6"
[tool.poetry.extras]
aiohttp = ["aiohttp", "pytest-aiohttp"]
debug-server = ["starlette", "uvicorn"]
django = ["django", "pytest-django", "asgiref"]
flask = ["flask", "pytest-flask"]
opentelemetry = ["opentelemetry-api", "opentelemetry-sdk"]
pydantic = ["pydantic"]
sanic = ["sanic"]
[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/"]
[build-system]
requires = ["poetry>=0.12"]
build-backend = "poetry.masonry.api"
[tool.autopub]
git-username = "Botberry"
git-email = "[email protected]"
project-name = "🍓"
append-github-contributor = true