-
-
Notifications
You must be signed in to change notification settings - Fork 498
/
pyproject.toml
82 lines (73 loc) · 2.1 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
[build-system]
requires = ["setuptools>=64", "setuptools_scm>=8"]
build-backend = "setuptools.build_meta"
[project]
name = "sorl-thumbnail"
dynamic = ["version"]
description = "Thumbnails for Django"
readme = "README.rst"
license = {file = "LICENSE"}
keywords = ["django", "thumbnail", "sorl"]
authors = [
{name = "Mikko Hellsing", email = "[email protected]"},
]
maintainers = [
{name = "Jazzband", email = "[email protected]"}
]
requires-python = ">= 3.9"
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'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 :: Dynamic Content',
'Topic :: Multimedia :: Graphics',
'Framework :: Django',
'Framework :: Django :: 4.2',
'Framework :: Django :: 5.0',
'Framework :: Django :: 5.1',
]
[project.urls]
Homepage = "https://sorl-thumbnail.readthedocs.io/en/latest/"
Repository = "https://github.com/jazzband/sorl-thumbnail"
[project.optional-dependencies]
pgmagick = ["pgmagick"]
pil = ["pillow"]
wand = ["wand"]
[tool.coverage.run]
source = ["sorl"]
omit = [
"*/sorl-thumbnail/sorl/__init__.py",
"*/sorl/thumbnail/__init__.py",
"*/sorl/thumbnail/conf/__init__.py",
"*/sorl/thumbnail/admin/__init__.py",
]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"if __name__ == .__main__.:",
]
# below line is required to generating versions with setuptools_scm
[tool.setuptools_scm]
[tool.ruff]
exclude = [
".tox",
"docs/*",
"*/migrations/*",
"tests/settings/*",
"sorl/thumbnail/__init__.py",
"sorl/thumbnail/admin/__init__.py"
]
line-length = 100
[tool.ruff.lint]
select = ["B", "C901", "E", "F", "I", "W"]
ignore = ["B904", "B017"]
[tool.ruff.lint.mccabe]
max-complexity = 15