-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
77 lines (71 loc) · 1.63 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
[tool.coverage.run]
branch = true
source = ['street_food_api']
omit = [
'*/migrations/*',
'*/manage.py',
'*/asgi.py',
'*/wsgi.py',
'*/settings/*',
'*/__init__.py'
]
[tool.isort]
known_third_party = ["celery", "django", "django_filters", "factory", "freezegun", "phonenumber_field", "pytest", "requests", "rest_framework"]
combine_as_imports = true
default_section = "THIRDPARTY"
include_trailing_comma = true
line_length = 79
multi_line_output = 3
known_first_party = ["street_food_api", "locations", "trucks", "conf"]
known_django = "django"
sections = "FUTURE,STDLIB,DJANGO,THIRDPARTY,FIRSTPARTY,LOCALFOLDER"
[tool.black]
line-length = 79
include = '\.pyi?$'
exclude = '''
/(
\.git
| \.mypy_cache
| \.venv
| _build
| build
| dist
| migrations
)/
'''
[tool.poetry]
name = "streed_food_api"
version = "0.1.0"
description = ""
authors = ["Adam Szustak <[email protected]>"]
[tool.poetry.dependencies]
python = "^3.7"
Django = "^3.1.5"
django-rest-framework = "^0.1.0"
psycopg2 = "^2.8.6"
django-phonenumber-field = "^5.0.0"
pip = "^20.3.3"
install = "^1.3.4"
phonenumbers = "^8.12.16"
Pillow = "^8.1.0"
django-cleanup = "^5.1.0"
django-filter = "^2.4.0"
freezegun = "^1.1.0"
celery = "^5.0.5"
requests = "^2.25.1"
redis = "^3.5.3"
django-redis = "^4.12.1"
[tool.poetry.dev-dependencies]
django-debug-toolbar = "^3.2"
pre-commit = "^2.9.3"
pytest-pythonpath = "^0.7.3"
factory-boy = "^3.2.0"
pytest = "^6.2.2"
pytest-django = "^4.1.0"
pytest-cov = "^2.11.1"
coverage = {extras = ["toml"], version = "^5.4"}
tox = "^3.21.3"
freezegun = "^1.1.0"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"