-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
102 lines (91 loc) · 2.13 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "cannula"
dynamic = ["version"]
description = "Async GraphQL Helper Library"
readme = "README.md"
requires-python = ">=3.10"
authors = [{ name = "Robert Myers", email = "[email protected]" }]
keywords = ["graphql"]
classifiers = [
"Development Status :: 4 - Beta",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.10",
]
dependencies = ["graphql-core<=3.2.5"]
[project.optional-dependencies]
codegen = [
"autoflake<=2.3.1",
"black<=24.10.0",
"tomli<=2.2.1",
"typing-extensions<=4.12.2",
"python-dotenv==1.0.1",
]
httpx = ["httpx", "fastapi"]
test = [
"black",
"coverage==7.6.10",
"flake8==7.1.1",
"mypy==1.14.1",
"pycodestyle",
"pytest-asyncio",
"pytest-cov",
"pytest-mock",
"pytest<9",
"python-dateutil==2.9.0",
"Sphinx==8.1.3",
"sphinx-autodoc-typehints",
"sphinx-argparse==0.5.2",
"sqlalchemy==2.0.36",
"aiosqlite==0.20.0",
"pydata-sphinx-theme",
"twine==6.0.1",
"types-python-dateutil",
"types-requests",
"hatch",
"greenlet",
]
performance = [
"pytest<9",
"pytest-asyncio",
"pytest-httpx",
"pytest-cov",
"pytest-mock",
"fastapi",
"ariadne",
"httpx",
]
[project.scripts]
cannula = "cannula.cli:main"
[project.urls]
Homepage = "https://github.com/rmyers/cannula"
[tool.hatch.build.targets.wheel]
only-include = ["cannula"]
[tool.hatch.version]
path = "cannula/__init__.py"
[tool.hatch.build.targets.sdist]
include = ["/cannula"]
[tool.pytest.ini_options]
asyncio_mode = "auto"
asyncio_default_fixture_loop_scope = "function"
minversion = "6.0"
addopts = [
"-vvv",
"--cov=cannula",
"--cov-report=term-missing:skip-covered",
"--cov-report=html",
"--cov-report=json:reports/coverage.json",
"--junit-xml=reports/junit.xml",
"--ignore=tests/fixtures/examples",
]
testpaths = ["tests", "integration"]
[tool.isort]
profile = "black"
[tool.flake8]
max_line_length = 120
[tool.mypy]
python_version = "3.12"
ignore_missing_imports = true