-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
97 lines (88 loc) · 1.7 KB
/
pyproject.toml
File metadata and controls
97 lines (88 loc) · 1.7 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
92
93
94
95
96
97
[project]
name = "strawberry-openapi"
version = "0.2.1"
description = "Easily convert your Strawberry GraphQL schema to OpenAPI"
authors = [
{ name = "Patrick Arminio", email = "patrick.arminio@gmail.com" },
]
dependencies = [
"strawberry-graphql>=0.215.0",
"pydantic>=2.5.1",
"typing-extensions>=4.8.0",
"pytest-django>=4.7.0",
"pytest-snapshot>=0.9.0",
]
requires-python = ">=3.8"
readme = "README.md"
[project.license]
text = "MIT"
[build-system]
requires = [
"pdm-backend",
]
build-backend = "pdm.backend"
[tool.pdm.dev-dependencies]
dev = [
"pdbpp>=0.10.3",
"pytest>=7.4.3",
"django>=4.2.7",
"nox>=2023.4.22",
"pytest-cov>=4.1.0",
"sourcetypes>=0.0.4",
"pytest-icdiff>=0.8",
"pytest-asyncio>=0.21.1",
"openapi-spec-validator>=0.7.1",
]
[tool.pdm.scripts]
test = "pytest"
[tool.ruff]
target-version = "py38"
select = [
"E",
"I",
"UP",
"F",
]
ignore = [
"UP006",
"UP007",
]
[tool.ruff.lint.isort]
extra-standard-library = [
"typing_extensions",
]
known-first-party = [
"strawberry",
]
known-third-party = [
"graphql",
]
required-imports = [
"from __future__ import annotations",
]
section-order = [
"future",
"standard-library",
"first-party",
"django",
"third-party",
"local-folder",
]
[tool.ruff.lint.isort.sections]
django = [
"django",
]
[tool.pytest.ini_options]
pythonpath = "."
DJANGO_SETTINGS_MODULE = "tests.integrations.django.settings"
[tool.coverage.report]
exclude_also = [
"def __repr__",
"if self\\.debug",
"raise AssertionError",
"raise NotImplementedError",
"if 0:",
"if __name__ == .__main__.:",
"@(abc\\.)?abstractmethod",
]
ignore_errors = true