-
Notifications
You must be signed in to change notification settings - Fork 77
Expand file tree
/
Copy pathpyproject.toml
More file actions
94 lines (82 loc) · 2.44 KB
/
pyproject.toml
File metadata and controls
94 lines (82 loc) · 2.44 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
[tool.poetry]
name = "django-cacheback"
version = "4.0.0"
description = "Caching library for Django that uses Celery or RQ to refresh cache items asynchronously"
authors = [
"David Winterbottom <david.winterbottom@gmail.com>",
"Stephan Jaekel <steph@rdev.info>",
"Flávio Juvenal (@fjsj)",
"Michael Kutý",
]
license = "MIT"
readme = "README.rst"
homepage = 'https://github.com/codeinthehole/django-cacheback'
repository = 'https://github.com/codeinthehole/django-cacheback'
keywords = ["flake8", "markdown", "lint"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: MIT License",
"Environment :: Web Environment",
"Framework :: Django",
"Intended Audience :: Developers",
"Operating System :: Unix",
"Programming Language :: Python",
"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",
]
packages = [{ include = "cacheback" }]
include = ["LICENSE"]
[tool.poetry.dependencies]
python = ">=3.10.0,<4"
django = ">=5.2"
celery = {version = ">=5.0", optional = true}
django-rq = {version = ">=3", optional = true}
Sphinx = {version = ">=3.3.0,<4", optional = true}
[tool.poetry.requires-plugins]
poetry-plugin-export = ">=1.8"
[tool.poetry.group.dev.dependencies]
pytest = ">=9.0"
pytest-django = ">=4.11"
pytest-cov = ">=7.0"
pytest-isort = ">=4.0"
pytest-flake8 = ">=1.3"
flake8 = ">=7"
pytest-black =">=0.6"
freezegun = ">=1.5"
coverage = {version = ">=7.0", extras = ["toml"]}
celery = ">=5.0"
django-rq = ">=3"
[tool.poetry.group.sandbox.dependencies]
redis = "^7.1.0"
django-debug-toolbar = "^6.1.0"
[tool.poetry.extras]
celery = ["celery"]
rq = ["django-rq"]
docs = ["Sphinx"]
[build-system]
requires = ["poetry>=2.1"]
build-backend = "poetry.masonry.api"
[tool.pytest.ini_options]
addopts = "-v --nomigrations"
testpaths = ["cacheback", "tests"]
markers = [
"redis_required: Tests that require a running redis-server instance"
]
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
skip-numeric-underscore-normalization = true
include = "\\.pyi?$"
exclude = "/(\\.git|\\.tox|build|dist)/"
[tool.coverage.run]
branch = true
source = ["cacheback"]
[tool.coverage.report]
exclude_lines = ["raise NotImplementedError"]