-
Notifications
You must be signed in to change notification settings - Fork 63
/
pyproject.toml
124 lines (115 loc) · 2.66 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
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
[build-system]
build-backend = "setuptools.build_meta"
requires = [ "setuptools", "setuptools-scm" ]
[project]
name = "djangocms-link"
description = "Adds a link plugin to django CMS"
readme = "README.rst"
license = { text = "BSD-3-Clause" }
maintainers = [
{ name = "Django CMS Association and contributors", email = "[email protected]" },
]
authors = [
{ name = "Divio AG", email = "[email protected]" },
]
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 CMS",
"Framework :: Django CMS :: 3.11",
"Framework :: Django CMS :: 4.0",
"Framework :: Django CMS :: 4.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",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
"Topic :: Software Development",
"Topic :: Software Development :: Libraries",
]
dynamic = [ "version" ]
dependencies = [
"django-cms>=3.7,!=4.1,!=4.1.1,!=4.1.2",
"djangocms-attributes-field>=1",
]
urls.Homepage = "https://github.com/django-cms/djangocms-link"
[tool.setuptools]
packages = [ "djangocms_link" ]
[tool.setuptools.dynamic]
version = { attr = "djangocms_link.__version__" }
[tool.isort]
line_length = 119
skip = [
"manage.py",
"*migrations*",
".tox",
".eggs",
".env",
".venv",
"data",
]
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_link"
known_cms = [ "cms", "menus" ]
known_django = "django"
[tool.flake8]
max-line-length = 119
exclude = [
"*.egg-info",
".eggs",
".env",
".git",
".settings",
".tox",
".venv",
"build",
"data",
"dist",
"docs",
"*migrations*",
"requirements",
"tmp",
]
[tool.coverage.run]
branch = true
source = [ "djangocms_link" ]
omit = [
"migrations/*",
"tests/*",
]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"def __repr__",
"if self.debug:",
"if settings.DEBUG",
"raise AssertionError",
"raise NotImplementedError",
"if 0:",
"if __name__ == .__main__.:",
]
ignore_errors = true