-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
45 lines (38 loc) · 1.02 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
[tool.poetry]
name = "backend"
version = "0.1.0"
description = ""
authors = ["P. Soumith Reddy <soumithreddypodduturi@gmail.com>"]
license = "MIT"
[tool.poetry.dependencies]
python = "^3.9"
Django = "^3.2.12"
djangorestframework = "^3.12.4"
django-cors-headers = "^3.10.0"
aiohttp = "^3.7.4"
vasvscrapper = "^0.0.2-alpha.9"
channels = "^3.0.4"
[tool.poetry.dev-dependencies]
flake8 = "^4.0.1"
black = "^21.9b0"
pre-commit = "^2.15.0"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.poetry.scripts]
dj-shell = 'backend.scripts:django_shell'
killports = 'backend.scripts:kill_ports'
lint = 'backend.scripts:lint'
manage = 'backend.scripts:manage'
migrate = 'backend.scripts:migrate'
reset-db = 'backend.scripts:reset_db'
server = 'backend.scripts:server'
[tool.black]
line-length = 120
target-version = ['py39']
include = '\.pyi?$'
extend-exclude = '''
^/package.json # exclude a file named foo.py in the root of the project (in addition to the defaults)
^/requirements.txt
^/runserver.sh
'''