forked from Tobi-De/dj-shop-cart
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
70 lines (62 loc) · 1.69 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
[tool.poetry]
name = "dj-shop-cart"
version = "7.0.3"
description = "Simple django cart manager for your django projects."
authors = ["Tobi DEGNON <[email protected]>"]
license = "MIT"
readme = "README.md"
repository = "https://github.com/Tobi-De/dj-shop-cart"
homepage = "https://tobi-de.github.io/dj-shop-cart/"
keywords = ["django", "python", "cart", "shop", "ecommerce"]
packages = [
{ include = "dj_shop_cart" },
{ include = "dj_shop_cart/migrations" },
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Framework :: Django :: 3.0",
"Framework :: Django :: 3.1",
"Framework :: Django :: 3.2",
"Framework :: Django :: 4.0",
"Framework :: Django :: 4.1",
"Framework :: Django :: 4.2",
"Intended Audience :: Developers",
"Natural Language :: English",
]
[tool.poetry.dependencies]
python = "^3.7"
Django = ">=3.0"
attrs = "^22.2.0"
[tool.poetry.group.dev.dependencies]
pytest = "^7.2.2"
pytest-django = "^4.5.2"
mypy = "^1.1.1"
pre-commit = "^3.2.1"
black = "^23.1.0"
isort = "^5.12.0"
django-stubs = "^1.16.0"
factory-boy = "^3.2.1"
ipython = "^8.11.0"
redis = "^4.5.3"
hiredis = "^2.2.2"
pytest-pretty = "^1.1.1"
[tool.black]
target-version = ['py37']
[tool.isort]
profile = "black"
add_imports = "from __future__ import annotations"
[tool.mypy]
mypy_path = "dj_shop_cart/"
no_implicit_optional = true
show_error_codes = true
warn_unreachable = true
warn_unused_ignores = true
[[tool.mypy.overrides]]
module = "tests.*"
allow_untyped_defs = true
[tool.pytest.ini_options]
addopts = "--ds=tests.settings --reuse-db"
python_files = ["tests.py", "test_*.py"]
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"