-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
119 lines (109 loc) · 2.39 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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
[tool.poetry]
version = "0.1.0"
description = "stamps e-store"
authors = ["Miron Sadykov <[email protected]>"]
license = "MIT"
readme = "docs/README.md"
repository = "https://github.com/Reagent992/stamps"
name = "src"
packages = [{include = "scripts"}]
[tool.poetry.dependencies]
python = "^3.10"
Django = "^4.2.6"
python-slugify = "^8.0.1"
sorl-thumbnail = "^12.10.0"
django-view-breadcrumbs = "^2.4.1"
pillow = "^10.0.1"
django-ckeditor-5 = "^0.2.10"
environs = {extras = ["django"], version = "^9.5.0"}
django-json-widget = "^2.0.1"
django-crispy-forms = "^2.1"
crispy-bootstrap5 = "^2024.2"
celery = "^5.4.0"
django-dirtyfields = "^1.9.2"
flower = "^2.0.1"
psycopg2-binary = "^2.9.9"
gunicorn = "^22.0.0"
django-split-settings = "^1.3.2"
sentry-sdk = {extras = ["django"], version = "^2.10.0"}
django-htmx = "^1.18.0"
requests = "^2.32.3"
[tool.poetry.group.dev.dependencies]
django-debug-toolbar = "^4.2.0"
black = "^23.9.1"
isort = "^5.12.0"
flake8 = "^6.1.0"
flake8-broken-line = "^1.0.0"
flake8-plugin-utils = "^1.3.3"
flake8-return = "^1.2.0"
pre-commit = "^3.5.0"
ipython = "^8.24.0"
django-stubs = {extras = ["compatible-mypy"], version = "^5.0.0"}
ipykernel = "^6.29.4"
pytest = "^8.2.1"
djlint = "^1.34.1"
selenium = "^4.22.0"
factory-boy = "^3.3.0"
django-rich = "^1.9.0"
[tool.poetry.scripts]
dr = "scripts.poetry_scripts:dr"
cw = "scripts.poetry_scripts:cw"
dt = "scripts.poetry_scripts:dt"
rc = "scripts.poetry_scripts:rc"
dwc = "scripts.poetry_scripts:dwc"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.black]
line-length = 79
target-version = ['py310']
include = '\.pyi?$'
extend-exclude = '''
(
\.git
| venv
| \.venv
| _build
| buck-out
| build
| migrations
| settings
| wsgi
| asgi
| manage
| \.pyc
| \.pyo
| \.pyd
| \.db
| \.bak
| \.swp
| \.log
| \.sql
| \.sqlite3
| \.sqlite3-journal
| ^setup\.py
| ^__init__\.py
)
'''
[tool.isort]
line_length=79
include_trailing_comma = true
profile = "black"
py_version = 310
skip = [".gitignore", ".dockerignore", "__init__.py", "manage.py"]
skip_glob = [
"docs/*",
"**/migrations/*.py",
"tests/",
"*/migrations/",
"venv/",
"venv/*",
"*/venv/",
"env/",
"static/*",
"templates/*",
]
[tool.mypy]
plugins = ["mypy_django_plugin.main"]
[tool.django-stubs]
django_settings_module = "config.settings"