-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy pathpyproject.toml
More file actions
110 lines (100 loc) · 2.68 KB
/
pyproject.toml
File metadata and controls
110 lines (100 loc) · 2.68 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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
[project]
name = "wagtail-instance-selector"
# This needs to also be updated in __init__.py
version = "3.1.1"
license = { file = "LICENSE" }
keywords = ["wagtail", "instance", "selector"]
dependencies = [
"wagtail>=6.3",
"wagtail-modeladmin",
]
description = "A widget for Wagtail's admin that allows you to create and select related items"
requires-python = ">=3.9"
readme = { file = "README.md", content-type = "text/markdown" }
authors = [
{ name = "The Interaction Consortium", email = "studio@interaction.net.au"},
]
maintainers = [
{ name = "The Interaction Consortium", email = "studio@interaction.net.au" }
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Intended Audience :: End Users/Desktop",
"Environment :: Web Environment",
"Framework :: Django",
"Framework :: Django :: 3.2",
"Framework :: Django :: 4.2",
"Framework :: Django :: 5.1",
"Framework :: Wagtail",
"Framework :: Wagtail :: 6",
"Framework :: Wagtail :: 7",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Utilities",
]
[project.optional-dependencies]
testing = [
"django_webtest",
]
dev = [
"django>=4.2",
"ruff==0.12.12",
"ipdb>=0.13,<1.0",
]
[project.urls]
homepage = "https://github.com/ixc/wagtail-instance-selector"
issues = "https://github.com/ixc/wagtail-instance-selector/issues"
repository = "https://github.com/ixc/wagtail-instance-selector.git"
changelog = "https://github.com/ixc/wagtail-instance-selector/blob/main/CHANGELOG.md"
[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"
[tool.setuptools.packages.find]
where = ["."]
include = ["instance_selector*"]
[tool.setuptools]
include-package-data = true
[tool.ruff]
# Python 3.11
target-version = "py311"
extend-exclude = [
"**/migrations/*",
]
[tool.ruff.lint]
select = [
# pycodestyle
"E",
# pycodestyle warnings
"W",
# Pyflakes
"F",
# pyupgrade
## Flake8 plugins
"UP",
# flake8-bugbear
"B",
# flake8-comprehensions
"C",
# flake8-django
"DJ",
# flake8-bandit
"S",
# flake8-simplify
"SIM",
# isort
"I",
]
ignore = [
# Ignore mark_safe warning
"S308",
]
[tool.ruff.lint.per-file-ignores]
# Ignore Pycodestyle line-length warnings (mainly long test assertions)
"tests/test_instance_selector.py" = ["E501"]