-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpyproject.toml
74 lines (64 loc) · 1.74 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
[tool.poetry]
name = "django-ultimatethumb"
version = "1.3.0"
description = "Generate thumbnails of anything."
authors = [
"Stephan Jaekel <steph@rdev.info>"
]
license = "BSD-3-Clause"
readme = "README.rst"
homepage = "https://github.com/stephrdev/django-ultimatethumb"
repository = "https://github.com/stephrdev/django-ultimatethumb"
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Web Environment",
"Framework :: Django",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Operating System :: Unix",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
]
packages = [{ include = "ultimatethumb" }]
include = ["LICENSE.rst"]
[tool.poetry.dependencies]
python = ">=3.8,<4"
Django = ">=2.2"
Pillow = ">=8.3"
command_executor = ">=0.1"
Sphinx = {version = ">=3.5", optional = true}
[tool.poetry.dev-dependencies]
pytest = ">=6.2"
pytest-cov = ">=2.12"
pytest-django = ">=4.4"
pytest-flake8 = ">=1.0"
pytest-isort = ">=2.0"
pytest-black = ">=0.3"
factory-boy = ">=3.2"
flake8 = "<5"
coverage = {version = ">=5.5", extras = ["toml"]}
[tool.poetry.extras]
docs = ["Sphinx"]
[build-system]
requires = ["poetry>=1.1"]
build-backend = "poetry.masonry.api"
[tool.pytest.ini_options]
addopts = "-v --nomigrations"
testpaths = ["ultimatethumb", "tests"]
flake8-max-line-length = 96
flake8-ignore = ["E203", "E266", "E501", "W503"]
flake8-max-complexity = 18
DJANGO_SETTINGS_MODULE = "tests.settings"
[tool.black]
line-length = 96
skip-string-normalization = true
include = "\\.pyi?$"
exclude = "/(\\.git|\\.tox|build|dist)/"
[tool.isort]
profile = "black"
[tool.coverage.run]
branch = true
source = ["ultimatethumb"]
omit = ["*/__init__.py"]
[tool.coverage.report]
exclude_lines = ["raise NotImplementedError"]