-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathpyproject.toml
More file actions
135 lines (129 loc) · 3.08 KB
/
pyproject.toml
File metadata and controls
135 lines (129 loc) · 3.08 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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
[build-system]
build-backend = "setuptools.build_meta"
requires = [ "setuptools>=64" ]
[project]
name = "djangocms-text"
description = "Rich Text Plugin for django CMS"
readme = "README.rst"
license = { text = "BSD-3-Clause" }
maintainers = [
{ name = "Django CMS Association and contributors", email = "info@django-cms.org" },
]
authors = [
{ name = "Django CMS Association and contributors", email = "info@django-cms.org" },
]
requires-python = ">=3.9"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Web Environment",
"Framework :: Django",
"Framework :: Django :: 4.2",
"Framework :: Django :: 5.0",
"Framework :: Django :: 5.1",
"Framework :: Django :: 5.2",
"Framework :: Django :: 6.0",
"Framework :: Django CMS",
"Framework :: Django CMS :: 3.11",
"Framework :: Django CMS :: 4.0",
"Framework :: Django CMS :: 4.1",
"Framework :: Django CMS :: 5.0",
"Framework :: Django CMS :: 5.1",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3 :: Only",
"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",
"Programming Language :: Python :: 3.14",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
"Topic :: Software Development",
"Topic :: Software Development :: Libraries",
]
dynamic = [ "version" ]
dependencies = [
"lxml",
"nh3",
"packaging",
"pillow",
]
urls.Homepage = "https://github.com/django-cms/djangocms-text"
[tool.setuptools]
packages.find.include = [ "djangocms_text*", "djangocms_text_ckeditor*" ]
dynamic.version = { attr = "djangocms_text.__version__" }
package-data.djangocms_text = [
"locale/**/*.mo",
"static/**",
"contrib/**/static/**",
"templates/**",
]
package-data.djangocms_text_ckeditor = [
"static/**",
]
[tool.ruff]
line-length = 120
indent-width = 4
[tool.isort]
line_length = 119
skip = [
".eggs",
".env",
".tox",
".venv",
"data",
"manage.py",
"*migrations*",
"node_modules",
"private",
]
include_trailing_comma = true
multi_line_output = 5
lines_after_imports = 2
default_section = "THIRDPARTY"
sections = [
"FUTURE",
"STDLIB",
"DJANGO",
"CMS",
"THIRDPARTY",
"FIRSTPARTY",
"LOCALFOLDER",
]
known_first_party = "djangocms_text"
known_cms = [ "cms", "menus" ]
known_django = "django"
[tool.flake8]
ignore = "C101,E251,E128,E501,E800,W503"
max-line-length = 119
exclude = [
"*.egg-info",
".eggs",
".git",
".settings",
".tox",
".env",
".venv",
"build",
"data",
"dist",
"docs",
"*migrations*",
"node_modules",
"requirements",
"tmp",
"*node_modules*",
]
[tool.pytest]
ini_options.DJANGO_SETTINGS_MODULE = "tests.settings"
ini_options.python_files = [ "tests.py", "test_*.py" ]
ini_options.addopts = [
"--reuse-db",
"--nomigrations",
"-v",
]
ini_options.testpaths = [ "tests" ]
ini_options.pythonpath = [ "." ]