Skip to content

Instantly share code, notes, and snippets.

@chrisrink10
Created October 19, 2018 15:23
Show Gist options
  • Save chrisrink10/2af2e425d68733d28be9f000865c3751 to your computer and use it in GitHub Desktop.
Save chrisrink10/2af2e425d68733d28be9f000865c3751 to your computer and use it in GitHub Desktop.
Pyproject.toml for Poetry issue
[tool.poetry]
name = "project"
version = "0.1.0"
description = "<-- snip -->"
authors = [
"<-- snip -->"
]
readme = 'README.md'
repository = "<-- snip -->"
packages = [
{ include = "app1", from = "src" },
{ include = "app2", from = "src" },
{ include = "app3", from = "src" }
]
[tool.poetry.scripts]
'manage.py' = 'app1:manage'
[tool.poetry.dependencies]
python = "^3.6.0"
django = "2.0.8"
django-bootstrap4 = "^0.0.7"
django-storages = "^1.7.1"
psycopg2 = "^2.7.0"
[tool.poetry.dev-dependencies]
awsebcli = "^3.14.0"
black = "18.9b0"
tox = "^3.5.0"
[tool.black]
line-length = 88
py36 = true
include = '\.pyi?$'
exclude = '''
/(
\.git
| \.hg
| \.mypy_cache
| \.tox
| \.env
| \.venv
| _build
| buck-out
| build
| dist
)/
'''
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment