-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
132 lines (113 loc) · 2.87 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
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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
# SPDX-FileCopyrightText: 2023 Carmen Bianca BAKKER <[email protected]>
#
# SPDX-License-Identifier: EUPL-1.2+
[tool.poetry]
name = "protokolo"
version = "3.0.0"
description = "Protokolo is a change log generator."
authors = [
"Carmen Bianca BAKKER <[email protected]>"
]
maintainers = [
"Carmen Bianca BAKKER <[email protected]>"
]
license = "EUPL-1.2+"
readme = "README.md"
homepage = "https://codeberg.org/carmenbianca/protokolo"
repository = "https://codeberg.org/carmenbianca/protokolo"
documentation = "https://protokolo.readthedocs.io"
keywords = ["changelog", "history", "news"]
classifiers = [
"Intended Audience :: Developers",
"Topic :: Documentation",
"Topic :: Software Development :: Documentation",
"Topic :: Utilities"
]
packages = [
{ include = "protokolo", from = "src" }
]
include = [
{ path = "src/protokolo/locale/**/*.mo", format="wheel" },
{ path = "docs", format = "sdist" },
{ path = "tests", format = "sdist" },
{ path = "README.md", format = "sdist" },
{ path = "CHANGELOG.md", format = "sdist" },
{ path = "LICENSES", format = "sdist" },
]
[tool.poetry.scripts]
protokolo = 'protokolo.cli:main'
[tool.poetry.dependencies]
python = "^3.11"
click = ">=8.0"
attrs = ">=22.1.0"
[tool.poetry.group.test.dependencies]
pytest = ">=6.0.0"
pytest-cov = ">=2.10.0"
freezegun = ">=1.0"
[tool.poetry.group.dev.dependencies]
black = ">=20"
isort = ">=5.0.0"
pre-commit = ">=2.9.0"
bumpver = ">=2023.1129"
pylint = ">=3.0"
mypy = ">=1.0"
reuse = ">=3.0"
[tool.poetry.group.docs]
optional = true
[tool.poetry.group.docs.dependencies]
Sphinx = ">=7.0.0"
sphinxcontrib-apidoc = ">=0.3.0"
myst-parser = ">=2.0.0"
furo = ">=2023.3.27"
[tool.poetry.group.lsp]
optional = true
[tool.poetry.group.lsp.dependencies]
python-lsp-server = "*"
pylsp-mypy = "*"
pyls-isort = "*"
python-lsp-black = "*"
[tool.poetry.build]
generate-setup-file = false
script = "_build.py"
[build-system]
requires = ["poetry-core>=1.1.0"]
build-backend = "poetry.core.masonry.api"
[bumpver]
current_version = "v3.0.0"
version_pattern = "vMAJOR.MINOR.PATCH"
commit_message = "Bump version: {old_version} → {new_version}"
tag_message = "{new_version}"
tag_scope = "default"
pre_commit_hook = ""
post_commit_hook = ""
commit = true
tag = false
push = false
[bumpver.file_patterns]
"pyproject.toml" = [
'^version = "{pep440_version}"$',
'^current_version = "{version}"$',
]
"src/protokolo/__init__.py" = [
'^__version__ = "{pep440_version}"$',
]
[tool.black]
line-length = 80
[tool.isort]
multi_line_output = 3
include_trailing_comma = true
force_grid_wrap = 0
use_parentheses = true
line_length = 80
[tool.pytest.ini_options]
addopts = "--doctest-modules"
[tool.mypy]
files = [
"src/protokolo/**.py",
"tests/**.py",
]
check_untyped_defs = true
[[tool.mypy.overrides]]
module = "protokolo.*"
disallow_untyped_defs = true
disallow_incomplete_defs = true