-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
74 lines (64 loc) · 1.72 KB
/
pyproject.toml
File metadata and controls
74 lines (64 loc) · 1.72 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
[project]
name = "wagtail-oauth2"
version = "2.0.6"
description = "OAuth2.0 authentication fo wagtail"
readme = "README.rst"
authors = [
{name = "Guillaume Gauvrit", email = "guillaume@gandi.net"},
]
license = {text = "BSD-Derived"}
requires-python = ">=3.7,<4.0"
classifiers = [
"Intended Audience :: Developers",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Internet :: WWW/HTTP",
"Framework :: Wagtail",
"Framework :: Wagtail :: 4",
"Framework :: Wagtail :: 5",
"Framework :: Wagtail :: 6",
"Framework :: Wagtail :: 7",
"License :: OSI Approved :: BSD License",
]
dependencies = [
"Django >=3.2.0,<5",
"wagtail >=4.0,<8",
"requests >=2.26.0,<3",
]
[project.urls]
homepage = "https://wagtail-oauth2.readthedocs.io/en/latest/"
repository = "https://github.com/Gandi/wagtail-oauth2"
[project.optional-dependencies]
docs = [
"sphinx >=9.0.0; python_version >= '3.12'",
"furo >=2025.12.19; python_version >= '3.12'",
]
[tool.ruff]
line-length = 88
target-version = "py310"
[tool.ruff.lint]
select = [
"B", # bug bear security warning
"I", # isort import order
"F", # pyflakes
"UP", # alter when better syntax is available
"RUF", # the ruff developper's own rules
]
ignore = ["RUF022"]
[dependency-groups]
dev = [
"Faker >=10.0.0,<11.0.0",
"html5lib>=1.1",
"pytest-cov >=3.0.0,<4.0.0",
"pytest-django >=4.4.0,<5.0.0",
"ruff >=0.14.13,<1",
]
doc = [
"sphinx >=9.0.0; python_version >= '3.12'",
"furo >=2025.12.19; python_version >= '3.12'",
]
[tool.pytest.ini_options]
DJANGO_SETTINGS_MODULE = "tests.settings"
python_files = "test_*.py"
[build-system]
requires = ["pdm-backend"]
build-backend = "pdm.backend"