| 1 |
[tool.poetry] |
| 2 |
name = "graphql-core" |
| 3 |
version = "3.2.12" |
| 4 |
description = """ |
| 5 |
GraphQL-core is a Python port of GraphQL.js,\ |
| 6 |
the JavaScript reference implementation for GraphQL.""" |
| 7 |
license = "MIT" |
| 8 |
authors = [ |
| 9 |
"Christoph Zwerschke <[email protected]>" |
| 10 |
] |
| 11 |
readme = "README.md" |
| 12 |
homepage = "https://github.com/graphql-python/graphql-core" |
| 13 |
repository = "https://github.com/graphql-python/graphql-core" |
| 14 |
documentation = "https://graphql-core-3.readthedocs.io/" |
| 15 |
keywords = ["graphql"] |
| 16 |
classifiers = [ |
| 17 |
"Development Status :: 5 - Production/Stable", |
| 18 |
"Intended Audience :: Developers", |
| 19 |
"License :: OSI Approved :: MIT License", |
| 20 |
"Programming Language :: Python :: 3", |
| 21 |
"Programming Language :: Python :: 3.7", |
| 22 |
"Programming Language :: Python :: 3.8", |
| 23 |
"Programming Language :: Python :: 3.9", |
| 24 |
"Programming Language :: Python :: 3.10", |
| 25 |
"Programming Language :: Python :: 3.11", |
| 26 |
"Programming Language :: Python :: 3.12", |
| 27 |
"Programming Language :: Python :: 3.13", |
| 28 |
"Programming Language :: Python :: 3.14", |
| 29 |
] |
| 30 |
packages = [ |
| 31 |
{ include = "graphql", from = "src" }, |
| 32 |
{ include = "tests", format = "sdist" }, |
| 33 |
{ include = "docs", format = "sdist" }, |
| 34 |
{ include = '.bumpversion.cfg', format = "sdist" }, |
| 35 |
{ include = '.coveragerc', format = "sdist" }, |
| 36 |
{ include = '.editorconfig', format = "sdist" }, |
| 37 |
{ include = '.flake8', format = "sdist" }, |
| 38 |
{ include = '.mypy.ini', format = "sdist" }, |
| 39 |
{ include = '.readthedocs.yaml', format = "sdist" }, |
| 40 |
{ include = 'poetry.lock', format = "sdist" }, |
| 41 |
{ include = 'tox.ini', format = "sdist" }, |
| 42 |
{ include = 'setup.cfg', format = "sdist" }, |
| 43 |
{ include = 'setup.py', format = "sdist" }, |
| 44 |
{ include = 'CODEOWNERS', format = "sdist" }, |
| 45 |
{ include = 'MANIFEST.in', format = "sdist" }, |
| 46 |
{ include = 'SECURITY.md', format = "sdist" } |
| 47 |
] |
| 48 |
|
| 49 |
[tool.poetry.dependencies] |
| 50 |
python = "^3.7" |
| 51 |
typing-extensions = [ |
| 52 |
{ version = ">=4.7,<5", python = "<3.10" } |
| 53 |
] |
| 54 |
|
| 55 |
[tool.black] |
| 56 |
target-version = [ |
| 57 |
'py37', 'py38', 'py39', 'py310', 'py311', 'py312', 'py313', 'py314' |
| 58 |
] |
| 59 |
|
| 60 |
[tool.pyright] |
| 61 |
# silence pyright since we're using mypy already |
| 62 |
reportArgumentType = false |
| 63 |
reportAssignmentType = false |
| 64 |
reportAttributeAccessIssue = false |
| 65 |
reportIncompatibleVariableOverride = false |
| 66 |
reportInvalidTypeForm = false |
| 67 |
reportMissingModuleSource = false |
| 68 |
reportMissingTypeArgument = false |
| 69 |
reportReturnType = false |
| 70 |
reportTypedDictNotRequiredAccess = false |
| 71 |
reportUnknownArgumentType = false |
| 72 |
reportUnknownMemberType = false |
| 73 |
reportUnknownParameterType = false |
| 74 |
reportUnnecessaryIsInstance = false |
| 75 |
reportUnknownVariableType = false |
| 76 |
ignore = ["**/test_*"] # test functions |
| 77 |
|
| 78 |
[tool.pylint.basic] |
| 79 |
max-module-lines = 2000 |
| 80 |
|
| 81 |
[tool.pylint.messages_control] |
| 82 |
disable = [ |
| 83 |
"method-hidden", |
| 84 |
"missing-module-docstring", # test modules |
| 85 |
"redefined-outer-name", |
| 86 |
"unused-variable", # test functions |
| 87 |
] |
| 88 |
|
| 89 |
[build-system] |
| 90 |
requires = ["poetry_core>=1,<3", "setuptools>=59,<85"] |
| 91 |
build-backend = "poetry.core.masonry.api" |