-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
93 lines (81 loc) · 2.18 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
89
90
91
92
93
[project]
name = "wagtail-bootstrap-app"
version = {use_scm = true}
description = "An boilerplate / bootstrap installation of a Wagtail app"
authors = [
{name = "Martijn Jacobs", email = "[email protected]"},
]
dependencies = [
"django>=3.1,<3.3",
"wagtail~=2.14"
]
requires-python = ">=3.7"
dynamic = ["version", "classifiers"]
license = {text = "MIT"}
readme = "README.md"
classifiers = [
"Development Status :: 3 - Alpha",
"Environment :: Web Environment",
"Framework :: Django",
"Framework :: Django :: 3.1",
"Framework :: Django :: 3.2",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: POSIX",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9"
]
[project.urls]
homepage = "https://github.com/maerteijn/wagtail-bootstrap-app"
repository = "https://github.com/maerteijn/wagtail-bootstrap-app"
[tool.pdm]
includes = ["src/wagtail_bootstrap_app"]
package-dir = "src"
[tool.pdm.scripts]
flake8 = "flake8 ."
pylint = "pylint src/"
pytest = "pytest"
black = "black src/"
isort = "isort ."
manage.py = "sandbox/manage.py"
[tool.pdm.dev-dependencies]
dev = [
"flake8~=3.8",
"flake8-black<1.0.0,>=0.2.1",
"flake8-isort==4.0",
"pylint~=2.8",
"pytest~=6.2",
"pytest-django~=4.4",
"pytest-cov~=2.11",
"pytest-env~=0.6",
"pytest-pythonpath~=0.7",
]
[build-system]
requires = ["pdm-pep517"]
build-backend = "pdm.pep517.api"
[tool.black]
line-length = 88
exclude = "/migrations/|/__pypackages__/"
[tool.pylint.messages_control]
disable = "C,W5103"
[tool.pylint.format]
max-line-length = "88"
[tool.pylint.master]
init-hook = "import sys; sys.path.append('.')"
ignore = "migrations"
[tool.isort]
force_grid_wrap = 0
include_trailing_comma = true
line_length = 88
multi_line_output = 3
use_parentheses = true
[tool.pytest.ini_options]
DJANGO_SETTINGS_MODULE = "sandbox.settings"
testpaths = "tests/"
addopts = "--reuse-db --cov=wagtail_bootstrap_app"
python_paths = "sandbox"
[tool.coverage.run]
omit = ["**/migrations/**", "**/tests/**", "sandbox/**", "__pypackages__/**"]
[tool.coverage.report]
show_missing = true