-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpyproject.toml
51 lines (42 loc) · 1.27 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
[tool.poetry]
name = "poetry-release"
version = "0.3.1"
description = "Plugin for release management in projects based on Poetry"
license = "MIT"
authors = ["Denis Kayshev <[email protected]>"]
readme = "README.rst"
homepage = "https://github.com/topenkoff/poetry-release"
repository = "https://github.com/topenkoff/poetry-release"
packages = [
{ include = "poetry_release"}
]
[tool.poetry.dependencies]
python = "^3.7"
poetry = "^1.2.0"
[tool.poetry.plugins."poetry.application.plugin"]
poetry-release = "poetry_release.plugin:ReleasePlugin"
[tool.poetry-release]
release-replacements = [
{ file="CHANGELOG.md", pattern="\\[Unreleased\\]", replace="[{version}] - {date}" },
{ file="CHANGELOG.md", pattern="\\(https://semver.org/spec/v2.0.0.html\\).", replace="(https://semver.org/spec/v2.0.0.html).\n\n## [Unreleased]"},
]
release-commit-message = "Release {package_name} {version} 🎉🎉🎉"
sign-commit = true
sign-tag = true
[tool.poetry.dev-dependencies]
mypy = "^1.0"
isort = "^5.11"
# flake8 = "^3.9"
black = "^23.1"
[tool.mypy]
files = "poetry_release"
strict = true
ignore_missing_imports = true
[tool.black]
line-length = 79
[tool.isort]
profile = "black"
atomic = true
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"