-
Notifications
You must be signed in to change notification settings - Fork 18
/
pyproject.toml
82 lines (68 loc) · 2.01 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
# -- PACKAGE INFO ---------------------
[build-system]
requires = ["setuptools >= 65.0"]
build-backend = "setuptools.build_meta"
[project]
authors = [
{name = "CodeRed LLC", email = "info@coderedcorp.com"}
]
classifiers = [
"Framework :: Django",
"Framework :: Wagtail",
"Framework :: Wagtail :: 3",
"Framework :: Wagtail :: 4",
"Framework :: Wagtail :: 5",
"Framework :: Wagtail :: 6",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Topic :: Internet :: WWW/HTTP :: Site Management",
]
dependencies = [
"wagtail>=3.0,<7",
]
description = "Search engine and social media optimization for Wagtail."
dynamic = ["version"]
license = {file = "LICENSE.txt"}
name = "wagtail-seo"
readme = "README.md"
requires-python = ">=3.8"
[project.urls]
Source = "https://github.com/coderedcorp/wagtail-seo"
Documentation = "https://docs.coderedcorp.com/wagtail-seo/"
Changelog = "https://docs.coderedcorp.com/wagtail-seo/releases.html"
[tool.setuptools]
packages = ["wagtailseo"]
[tool.setuptools.dynamic]
version = {attr = "wagtailseo.__version__"}
# -- TOOLS ----------------------------
[tool.codespell]
skip = ".venv,venv,htmlcov,build,_build,dist,migrations,*.json"
[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 wagtailseo --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