forked from coderedcorp/wagtail-cache
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
79 lines (65 loc) · 1.83 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
# -- PACKAGE INFO ---------------------
[build-system]
requires = ["setuptools >= 65.0"]
build-backend = "setuptools.build_meta"
[project]
authors = [
{name = "CodeRed LLC", email = "[email protected]"}
]
classifiers = [
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Framework :: Django",
"Framework :: Wagtail",
"Framework :: Wagtail :: 3",
"Framework :: Wagtail :: 4",
"Framework :: Wagtail :: 5",
"Framework :: Wagtail :: 6",
]
dependencies = [
"wagtail>=3.0,<7",
]
description = "A simple page cache for Wagtail based on the Django cache middleware."
dynamic = ["version"]
license = {file = "LICENSE"}
name = "wagtail-cache"
readme = "README.md"
requires-python = ">=3.8"
[project.urls]
Source = "https://github.com/coderedcorp/wagtail-cache"
[tool.setuptools]
packages = ["wagtailcache"]
[tool.setuptools.dynamic]
version = {attr = "wagtailcache.__version__"}
# -- TOOLS ----------------------------
[tool.codespell]
ignore-words-list = ["doubleclick"]
[tool.django-stubs]
django_settings_module = "testproject.settings"
[tool.mypy]
ignore_missing_imports = true
check_untyped_defs = true
exclude = [
'^\..*',
'migrations',
'node_modules',
'venv',
]
[tool.pytest.ini_options]
DJANGO_SETTINGS_MODULE = "testproject.settings"
junit_family = "xunit2"
addopts = "--cov wagtailcache --cov-report html --cov-report xml --junitxml junit/test-results.xml"
python_files = "tests.py test_*.py"
[tool.ruff]
extend-exclude = ["build", "migrations"]
line-length = 80
[tool.ruff.lint]
extend-select = ["I"]
[tool.ruff.lint.isort]
case-sensitive = false
force-single-line = true
lines-after-imports = 2