-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpyproject.toml
87 lines (75 loc) · 2.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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "ariadne-graphql-modules"
version = "1.0.0.dev1"
description = "Ariadne toolkit for defining GraphQL schemas in modular fashion."
authors = [{ name = "Mirumee Software", email = "[email protected]" }]
readme = { file = "README.md", content-type = "text/markdown" }
license = { file = "LICENSE" }
requires-python = ">=3.9,<3.13"
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Software Development :: Libraries :: Python Modules",
]
dependencies = ["ariadne==0.23.0", "mkdocs-material"]
[project.optional-dependencies]
test = [
"pytest",
"pytest-cov",
"pytest-asyncio",
"pytest-regressions",
"pytest-datadir",
]
lint = ["black", "mypy", "pylint", "ruff"]
docs = ["mkdocs-material"]
[project.urls]
"Homepage" = "https://ariadnegraphql.org/"
"Repository" = "https://github.com/mirumee/ariadne-graphql-modules"
"Bug Tracker" = "https://github.com/mirumee/ariadne-graphql-modules/issues"
"Community" = "https://github.com/mirumee/ariadne/discussions"
"Twitter" = "https://twitter.com/AriadneGraphQL"
"Documentation" = "https://mirumee.github.io/ariadne-graphql-modules/"
[tool.hatch.build]
include = [
"ariadne_graphql_modules/**/*.py",
"ariadne_graphql_modules/py.typed",
]
exclude = [
"tests",
"tests_v1",
"*.pyc",
"*.pyo",
"__pycache__",
".git",
".idea",
]
[tool.hatch.envs.default]
features = ["test", "lint", "docs"]
python = "3.12"
[tool.ruff]
line-length = 88
target-version = "py39"
exclude = ["tests_v1", "ariadne_graphql_modules/v1"]
[tool.ruff.format]
docstring-code-format = true
docstring-code-line-length = 80
[tool.ruff.lint]
select = ["E", "F", "G", "I", "N", "Q", "UP", "C90", "T20", "TID"]
[tool.ruff.lint.mccabe]
max-complexity = 30
[tool.ruff.lint.flake8-pytest-style]
fixture-parentheses = false
mark-parentheses = false
[tool.pytest.ini_options]
testpaths = ["tests", "tests_v1"]
asyncio_mode = "strict"