-
Notifications
You must be signed in to change notification settings - Fork 3
/
pyproject.toml
69 lines (60 loc) · 1.59 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
[tool.pdm]
[project]
# PEP 621 project metadata
# See https://www.python.org/dev/peps/pep-0621/
authors = [
{name = "Patrick Arminio", email = "[email protected]"},
]
license = {text = "MIT"}
requires-python = ">=3.7,<4.0"
dependencies = [
"strawberry-graphql<1.0.0,>=0.103.1",
"strawberry-graphql-django<1.0.0,>=0.2.5",
"backports-cached-property>=1.0.2",
]
description = ""
name = "strawberry-wagtail"
version = "0.1.0"
# include = ["strawberry_wagtail/py.typed"]
[project.urls]
[tool.pdm.dev-dependencies]
dev = [
"black<23.0.0,>=22.1.0",
"flake8<5.0.0,>=4.0.1",
"mypy<1.0,>=0.941",
"pytest<8.0.0,>=7.1.1",
"pytest-django<5.0.0,>=4.5.2",
"wagtail<3.0.0,>=2.16.1",
]
[tool.pdm.build]
includes = ["strawberry_wagtail", "strawberry_wagtail/py.typed"]
[build-system]
requires = ["pdm-pep517>=1.0.0"]
build-backend = "pdm.pep517.api"
[tool.pytest.ini_options]
DJANGO_SETTINGS_MODULE = "tests.django_settings"
addopts = "--no-migrations"
pythonpath = "."
testpaths = ["tests"]
xfail_strict = true
[tool.black]
line-length = 88
[tool.isort]
combine_as_imports = true
combine_star = true
indent = 4
known_django = ["django"]
known_first_party = ["strawberry"]
known_graphql = ["graphql"]
known_pytest = ["pytest"]
lines_after_imports = 2
profile = "black"
sections = ["FUTURE", "STDLIB", "PYTEST", "THIRDPARTY", "DJANGO", "GRAPHQL", "FIRSTPARTY", "LOCALFOLDER"]
src_paths = ["strawberry", "tests", "scripts"]
[tool.pyright]
exclude = ["**/__pycache__"]
include = ["strawberry"]
pythonVersion = "3.7"
reportMissingImports = true
reportMissingTypeStubs = false
stubPath = ""