-
Notifications
You must be signed in to change notification settings - Fork 6
/
pyproject.toml
88 lines (80 loc) · 2.26 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.version]
path = "graphql_query/__version__.py"
[project]
name = "graphql_query"
description = "Complete Domain Specific Language (DSL) for GraphQL query in Python."
readme = "README.md"
authors = [
{name = "Denis A. Artyushin", email = "[email protected]"},
]
keywords = [
"python", "graphql", "graphql-query", "dsl",
"query-builder", "code-generation", "codegen",
"query-generator", "pydantic", "graphql-query-builder",
"query-generation",
]
license = "MIT"
# list of classifiers
# https://pypi.org/classifiers/
classifiers = [
"Development Status :: 5 - Production/Stable",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Environment :: MacOS X",
"Framework :: Pydantic",
"Framework :: Pydantic :: 2",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Libraries :: Python Modules",
]
requires-python = ">=3.8"
dependencies = [
"pydantic>=2",
"jinja2>=3.1, <3.2",
]
dynamic = ["version"]
[project.urls]
Homepage = "https://github.com/denisart/graphql-query"
Documentation = "https://denisart.github.io/graphql-query/"
Source = "https://github.com/denisart/graphql-query"
[project.optional-dependencies]
# all requirements for linting, building e.t.c.
dev = [
"mypy",
"ruff",
"pylint-pydantic",
"wheel",
"black",
]
# all requirements for tests
test = [
"pytest",
"pytest-mock",
"pytest-cov",
]
# all requirements for docs generation
docs = [
"mkdocs",
"mkdocs-material",
]
[tool.ruff]
line-length = 120
flake8-quotes = {inline-quotes = 'single', multiline-quotes = 'double'}
mccabe = { max-complexity = 14 }
isort = { known-first-party = ['graphql_core', 'tests'] }
target-version = "py38"
[tool.black]
color = true
line-length = 120
target-version = ['py310']
skip-string-normalization = true