-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
91 lines (79 loc) · 2.12 KB
/
Copy pathpyproject.toml
File metadata and controls
91 lines (79 loc) · 2.12 KB
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
[project]
name = "pytest-strawberry"
version = "0.3.0"
description = "Pytest plugin for Strawberry GraphQL"
authors = [{ name = "Patrick Arminio", email = "patrick.arminio@gmail.com" }]
license = "MIT"
license-files = ["LICENSE"]
readme = "README.md"
keywords = ["graphql", "pytest", "strawberry-graphql", "testing"]
classifiers = [
"Development Status :: 3 - Alpha",
"Framework :: Pytest",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Topic :: Software Development :: Testing",
]
requires-python = ">=3.10,<4.0"
dependencies = [
"pytest>=8.0,<10.0",
"strawberry-graphql>=0.316.0",
]
[project.urls]
repository = "https://github.com/strawberry-graphql/pytest-strawberry"
issues = "https://github.com/strawberry-graphql/pytest-strawberry/issues"
[project.entry-points.pytest11]
pytest-strawberry = "pytest_strawberry.plugin"
[dependency-groups]
dev = [
"mypy>=1.15.0,<3.0.0",
"nox>=2026.8.10,<2027.0.0",
"pre-commit>=4.0.0,<5.0.0",
"pytest-xdist>=3.6.0,<4.0.0",
"ruff>=0.14.1,<0.17.0",
]
[tool.uv]
default-groups = ["dev"]
[tool.uv.build-backend]
module-name = "pytest_strawberry"
module-root = ""
[tool.pytest.ini_options]
testpaths = ["tests"]
[tool.autopub]
git-username = "Botberry"
git-email = "bot@strawberry.rocks"
project-name = "pytest-strawberry"
append-github-contributor = true
plugins = [
"autopub.plugins.github",
"autopub.plugins.uv",
]
[tool.mypy]
files = ["pytest_strawberry", "tests"]
strict = true
warn_unused_configs = true
[tool.ruff]
line-length = 88
target-version = "py310"
src = ["pytest_strawberry", "tests"]
[tool.ruff.lint]
select = ["ALL"]
ignore = [
"COM812",
"CPY001",
"D203",
"D213",
]
[tool.ruff.lint.per-file-ignores]
"examples/**/*.py" = ["D", "INP001", "S101"]
"tests/*" = ["D", "S101"]
[build-system]
requires = ["uv_build>=0.11,<0.13"]
build-backend = "uv_build"