-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
55 lines (50 loc) · 1014 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
50
51
52
53
54
55
[tool.poetry]
name = "restonomicon-pl"
version = "0.1.0"
description = "Repozytorium z przykładowym kodem do poradnika Django RREST Framework"
authors = ["Dominik Kozaczko <dominik@kozaczko.info>"]
license = "MIT"
readme = "README.md"
packages = [{include = "restonomicon_pl"}]
[tool.poetry.dependencies]
python = "^3.8"
djangorestframework = "^3.12.4"
djoser = "^2.1.0"
pendulum = "^2.1.2"
django-filter = "^2.4.0"
drf-extensions = "^0.7.1"
drf-flex-fields = "^0.9.3"
[tool.poetry.group.dev.dependencies]
ipython = "^7.26.0"
pre-commit = "^2.14.0"
black = "^21.7-beta.0"
[tool.black]
line-length = 88
target-version = ['py36']
include = '\.pyi?$'
exclude = '''
(
/(
\.cache
| \.eggs
| \.git
| \.hg
| \.mypy_cache
| \.pytest_cache
| \.tox
| \.venv
| __pycache__
| _build
| buck-out
| build
| dist
| docs
| .+/migrations
)/
)
'''
[tool.isort]
profile="black"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"