-
-
Notifications
You must be signed in to change notification settings - Fork 22
/
pyproject.toml
103 lines (93 loc) · 2.48 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
[build-system]
requires = ["flit_core>=3.2", "flit_scm", "wheel"]
build-backend = "flit_scm:buildapi"
[project]
name = "django-pictures"
authors = [
{ name = "Johannes Maron", email = "[email protected]" },
]
readme = "README.md"
license = { file = "LICENSE" }
keywords = ["pillow", "Django", "image", "pictures", "WebP", "AVIF"]
dynamic = ["version", "description"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Programming Language :: Python",
"Environment :: Web Environment",
"Topic :: Multimedia :: Graphics :: Graphics Conversion",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Topic :: Software Development",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Framework :: Django",
"Framework :: Django :: 3.2",
"Framework :: Django :: 4.1",
"Framework :: Django :: 4.2",
]
requires-python = ">=3.8"
dependencies = ["django>=3.2.0", "pillow>=9.0.0"]
[project.optional-dependencies]
test = [
"pytest",
"pytest-cov",
"pytest-django",
"redis",
]
lint = [
"bandit==1.8.0",
"black==24.10.0",
"flake8==7.1.1",
"isort==5.13.2",
"pydocstyle[toml]==6.3.0",
]
dramatiq = [
"django-dramatiq",
]
celery = [
"celery",
]
django-rq = [
"django-rq",
]
drf = [
"djangorestframework",
]
cleanup = [
"django-cleanup",
]
[project.urls]
Project-URL = "https://github.com/codingjoe/django-pictures"
Changelog = "https://github.com/codingjoe/django-pictures/releases"
Source = "https://github.com/codingjoe/django-pictures"
Documentation = "https://github.com/codingjoe/django-pictures#django-pictures"
Issue-Tracker = "https://github.com/codingjoe/django-pictures/issues"
[tool.flit.module]
name = "pictures"
[tool.setuptools_scm]
write_to = "pictures/_version.py"
[tool.pytest.ini_options]
minversion = "6.0"
addopts = "--cov --tb=short -rxs"
testpaths = ["tests"]
DJANGO_SETTINGS_MODULE = "tests.testapp.settings"
[tool.coverage.run]
source = ["pictures"]
[tool.coverage.report]
show_missing = true
[tool.isort]
atomic = true
line_length = 88
known_first_party = "pictures, tests"
include_trailing_comma = true
default_section = "THIRDPARTY"
combine_as_imports = true
[tool.pydocstyle]
add_ignore = "D1"