This repository was archived by the owner on May 16, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
81 lines (68 loc) · 1.93 KB
/
pyproject.toml
File metadata and controls
81 lines (68 loc) · 1.93 KB
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
78
79
80
81
[tool.poetry]
authors = ["DiviAI"]
description = "Python package template"
name = "template-python"
readme = "README.md"
version = "1.6.1"
repository = "https://github.com/agblox/template-python"
documentation = "https://github.com/agblox/template-python"
homepage = "https://github.com/agblox/template-python"
# https://pypi.org/classifiers/
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Typing :: Typed",
# PyPI will always reject packages with classifiers beginning with "Private ::"
"Private :: Do Not Upload",
]
[tool.poetry.dependencies]
python = ">=3.9,<4.0"
# dev deps
detect-secrets = { version = "^1.4.0", optional = true }
pytest = { version = "^7.2.2", optional = true }
pytest-cov = { version = "^4.0.0", optional = true }
pytest-dotenv = { version = "^0.5.2", optional = true }
mypy = { version = "^1.1.1", optional = true }
# package deps
typer = "^0.7.0"
loguru = "^0.6.0"
[tool.poetry.scripts]
template-python = "template_python:cli.cli"
[tool.poetry.extras]
dev = [
"detect-secrets",
"pytest",
"pytest-cov",
"pytest-dotenv",
"mypy",
]
[tool.poetry.urls]
issues = "https://github.com/agblox/template-python"
[tool.isort]
profile = "black"
multi_line_output = 3
force_sort_within_sections = true
order_by_type = false
line_length = 100
[tool.black]
line-length = 100
target-version = ['py39']
[tool.semantic_release]
version_variable = [
"pyproject.toml:version"
]
version_pattern = [
"Makefile:^VERSION := {version}",
]
upload_to_pypi = false
dist_path = "dist/"
build_command = "make build-assets"
commit_subject = "chore(release): {version} [skip actions]"
[build-system]
build-backend = "poetry.masonry.api"
requires = ["poetry>=1.0.10"]