2022-02-19 09:22:21 +00:00
|
|
|
{% if use_poetry %}
|
|
|
|
[tool.poetry]
|
|
|
|
name = "{{ project_name }}"
|
|
|
|
version = "{{ package_version }}"
|
|
|
|
description = "{{ package_description }}"
|
|
|
|
|
|
|
|
authors = []
|
|
|
|
|
|
|
|
readme = "README.md"
|
|
|
|
packages = [
|
|
|
|
{include = "{{ package_name }}"},
|
|
|
|
]
|
|
|
|
include = ["CHANGELOG.md", "{{ package_name }}/py.typed"]
|
|
|
|
|
|
|
|
[tool.poetry.dependencies]
|
|
|
|
python = "^3.7"
|
2023-01-13 18:21:38 +00:00
|
|
|
httpx = ">=0.15.4,<0.24.0"
|
2022-02-19 09:22:21 +00:00
|
|
|
attrs = ">=21.3.0"
|
|
|
|
python-dateutil = "^2.8.0"
|
|
|
|
|
|
|
|
[build-system]
|
|
|
|
requires = ["poetry-core>=1.0.0"]
|
|
|
|
build-backend = "poetry.core.masonry.api"
|
|
|
|
|
|
|
|
{% endif %}
|
|
|
|
[tool.black]
|
|
|
|
line-length = 120
|
|
|
|
target_version = ['py37', 'py38', 'py39']
|
|
|
|
exclude = '''
|
|
|
|
(
|
|
|
|
/(
|
|
|
|
| \.git
|
|
|
|
| \.venv
|
|
|
|
| \.mypy_cache
|
|
|
|
)/
|
|
|
|
)
|
|
|
|
'''
|
|
|
|
|
|
|
|
[tool.isort]
|
|
|
|
line_length = 120
|
|
|
|
profile = "black"
|