-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpyproject.toml
49 lines (44 loc) · 953 Bytes
/
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
[tool.poetry]
name = "PROJECTNAME"
version = "1.0.0"
description = "Django boilerplate"
authors = [
"mohsen mirzakhani <[email protected]>"
]
[tool.poetry.dependencies]
python = "^3.7.4"
Django = "3.0.6"
django-redis="4.11.0"
djangorestframework="3.11.0"
django-constance = {version = "^2.6.0", extras = ["database"]}
[tool.black]
line-length = 88
target-version = ['py38']
include = '\.pyi?$'
exclude = '''
(
/(
\.eggs # exclude a few common directories in the
| \.git # root of the project
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| \.cache
| \.idea
| \.vscode
| \.circleci
)/
)
'''
[tool.isort]
multi_line_output = 3
include_trailing_comma = true
force_grid_wrap = 0
use_parentheses = true
line_length = 88
force_single_line = true
known_third_party = ["django", "django-environ", "sentry_sdk"]
[build-system]
requires = ["poetry>=0.12"]
build-backend = "poetry.masonry.api"